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

Unified Diff: components/password_manager/core/browser/affiliation_api.proto

Issue 767163005: Add AffiliationFetcher to fetch authoritative affiliation information regarding facets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build. Created 6 years 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: components/password_manager/core/browser/affiliation_api.proto
diff --git a/components/password_manager/core/browser/affiliation_api.proto b/components/password_manager/core/browser/affiliation_api.proto
new file mode 100644
index 0000000000000000000000000000000000000000..2431b1b1024390d056b617363664e29c6171ce2a
--- /dev/null
+++ b/components/password_manager/core/browser/affiliation_api.proto
@@ -0,0 +1,26 @@
+// 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";
+
+package affiliation_pb;
+
+option optimize_for = LITE_RUNTIME;
+
+// A collection of facets affiliated with each other, i.e. an equivalence class.
+message Affiliation {
+ repeated string facet = 1;
+}
+
+// Encapsulates a lookup request to the Affiliation API.
+message LookupAffiliationRequest {
+ // The facet URIs to query.
+ repeated string facet = 1;
+}
+
+// Encapsulates a lookup response from the the Affiliation API.
+message LookupAffiliationResponse {
+ // For each queried facet, the corresponding equivalence class, if any.
+ repeated Affiliation affiliation = 1;
+}
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/password_manager/core/browser/affiliation_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698