Request Facet Branding Info from Affiliation API

Desktop / Chromium - jdoerrie [chromium.org] - 13 July 2017 07:09 EDT

This change adds a request for branding information to the affiliation API call by setting the appropriate field in the protobuf. Furthermore, the affiliation database is updated to support reading and writing the additional information.

Bug: 628988 Change-Id: I28fffba8449a6e966734aea42b959a17ad9c80d9 Reviewed-on: https://chromium-review.googlesource.com/561736 Commit-Queue: Jan Wilken Dörrie

636fe4f Request Facet Branding Info from Affiliation API
components/password_manager/core/browser/BUILD.gn | 2 +
.../android_affiliation/affiliation_database.cc | 140 ++++++++++++++++-----
.../android_affiliation/affiliation_database.h | 24 +++-
.../affiliation_database_unittest.cc | 127 ++++++++++++++++---
.../android_affiliation/affiliation_fetcher.cc | 17 ++-
.../affiliation_fetcher_unittest.cc | 45 +++++++
.../data/password_manager/affiliation_db_v1.sql | 31 +++++
.../data/password_manager/affiliation_db_v2.sql | 36 ++++++
8 files changed, 369 insertions(+), 53 deletions(-)

Upstream: git.chromium.org


  • Share