// 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 components.feed.core.proto.libraries.basicstream.internal;

option optimize_for = LITE_RUNTIME;

import "components/feed/core/proto/libraries/sharedstream/scroll_state.proto";

option java_package = "org.chromium.components.feed.core.proto.libraries.basicstream.internal";
option java_outer_classname = "StreamSavedInstanceStateProto";
option cc_enable_arenas = true;

// Object representing the state of the Stream.
message StreamSavedInstanceState {
  optional string session_id = 1;
  optional components.feed.core.proto.libraries.sharedstream.ScrollState
      scroll_state = 2;
}
