// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto2";

package feedwire1;

option optimize_for = LITE_RUNTIME;

import "components/feed/core/proto/wire/action_request.proto";
import "components/feed/core/proto/wire/consistency_token.proto";
import "components/feed/core/proto/wire/feed_action.proto";

option java_package = "org.chromium.components.feed.core.proto.wire";
option java_outer_classname = "FeedActionRequestProto";

// Request to upload new actions to the Actions Endpoint
message FeedActionRequest {
  extend ActionRequest {
    optional FeedActionRequest feed_action_request = 1001;
  }
  // Data related to recordable actions performed on the client.
  repeated FeedAction feed_action = 1;
  // Token used to write to the same storage.
  optional ConsistencyToken consistency_token = 2;
}
