Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5245)

Unified Diff: chrome/browser/search/suggestions/proto/suggestions.proto

Issue 410673002: [Suggestions] Moving suggestions code to a new component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search/suggestions/proto/suggestions.proto
diff --git a/chrome/browser/search/suggestions/proto/suggestions.proto b/chrome/browser/search/suggestions/proto/suggestions.proto
deleted file mode 100644
index aaf5ef6ce813f7619f75be7c3244a86121ef59b8..0000000000000000000000000000000000000000
--- a/chrome/browser/search/suggestions/proto/suggestions.proto
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2014 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";
-
-option optimize_for = LITE_RUNTIME;
-
-package suggestions;
-
-// Providers are identified with an ID.
-enum ProviderId {
- SERVER0 = 0;
- SERVER1 = 1;
- SERVER2 = 2;
- SERVER3 = 3;
-}
-
-// The SuggestionsProfile is a protobuf response from the server that contains
-// the list of suggestions to be presented to the user.
-//
-// Next tag: 2
-message SuggestionsProfile {
- repeated ChromeSuggestion suggestions = 1;
-}
-
-// The suggestions for this user, ordered from best to worst.
-//
-// Next tag: 6
-message ChromeSuggestion {
- // The URL of the suggestion.
- optional string url = 1;
-
- // Title of the suggestion.
- optional string title = 2;
-
- // The URL of the favicon associated with this page.
- optional string favicon_url = 3;
-
- // The URL of the thumbnail associated with this page.
- optional string thumbnail = 4;
-
- // The provider(s) responsible for this suggestion.
- repeated ProviderId providers = 5;
-}
-
-// A list of URLs that should be filtered from the SuggestionsProfile.
-//
-// Next tag: 2
-message SuggestionsBlacklist {
- // URLs that make up the blacklist.
- repeated string urls = 1;
-}
-
-// ThumbnailData contains the data to represent a website thumbnail.
-//
-// Next tag: 3
-message ThumbnailData {
- // The URL of the website represented by this Thumbnail.
- optional string url = 1;
-
- // Bitmap bytes, encoded as JPEG.
- optional bytes data = 2;
-}
« no previous file with comments | « chrome/browser/search/suggestions/proto/BUILD.gn ('k') | chrome/browser/search/suggestions/suggestions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698