Add AffiliationFetcher to fetch authoritative affiliation information regarding facets.
[chromium-blink-merge.git] / components / password_manager / core / browser / affiliation_api.proto
blob2431b1b1024390d056b617363664e29c6171ce2a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 syntax = "proto2";
7 package affiliation_pb;
9 option optimize_for = LITE_RUNTIME;
11 // A collection of facets affiliated with each other, i.e. an equivalence class.
12 message Affiliation {
13   repeated string facet = 1;
16 // Encapsulates a lookup request to the Affiliation API.
17 message LookupAffiliationRequest {
18   // The facet URIs to query.
19   repeated string facet = 1;
22 // Encapsulates a lookup response from the the Affiliation API.
23 message LookupAffiliationResponse {
24   // For each queried facet, the corresponding equivalence class, if any.
25   repeated Affiliation affiliation = 1;