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

// Do not edit this file manually. See README.chromium for details on
// how to edit this file.

syntax = 'proto2';

option optimize_for = LITE_RUNTIME;
option java_package = 'org.chromium.components.omnibox';
option java_outer_classname = 'AnswerDataProto';

package omnibox;

import "formatted_string.proto";

// Data to render an individual answer block.
// Next ID: 7
message AnswerData {
  optional FormattedString headline = 1;
  optional FormattedString subhead = 2;
  optional Image image = 5;

  reserved 3, 4;
}

message Image {
  optional string url = 1;
  optional ImageType type = 2;

  enum ImageType {
    TYPE_UNKNOWN = 0;
    TYPE_LARGE = 1;
    TYPE_SMALL = 2;
  }

  reserved 3, 4;
}
