commit | 7947209945cff83f3301963f5a01821d02e100a2 | [log] [tgz] |
---|---|---|
author | gogerald <[email protected]> | Thu Apr 27 15:38:16 2017 |
committer | Commit bot <[email protected]> | Thu Apr 27 15:38:16 2017 |
tree | a14e33f073273625b067fd7b21286b923168d1fc | |
parent | 9567f9fa3fcfcaa50fc7b6a6adf66106a2eb6be5 [diff] [blame] |
Cache payment manifests. In this patch: Try to fetch all supported web app ids for the payment method from the cache before downloading its manifest online. If cached web app ids contain all matching apps ids, proceed fetching corresponding web apps manifests from the cache. Otherwise fall back to download the payment method's manifest online. If failed to fetch at least one web app's manifest from the cache, then fall back to download payment method's manifest online. In addition: Cache downloaded and parsed supported web apps ids of the payment method for future reference. Cache downloaded and parsed web app manifest sections for future reference. Refer to below doc for details. https://docs.google.com/a/google.com/document/d/1Ncsp96Ae5836NLOdPwHRzcX3zkgj-4-5fq_nI2azC7M BUG=708508 Review-Url: https://codereview.chromium.org/2838433002 Cr-Commit-Position: refs/heads/master@{#467688}
diff --git a/chrome/browser/ui/profile_error_dialog.h b/chrome/browser/ui/profile_error_dialog.h index 0c552a7..011a1ab 100644 --- a/chrome/browser/ui/profile_error_dialog.h +++ b/chrome/browser/ui/profile_error_dialog.h
@@ -21,6 +21,7 @@ DB_KEYWORD_WEB_DATA, CREATE_FAILURE_SPECIFIED, CREATE_FAILURE_ALL, + DB_PAYMENT_MANIFEST_WEB_DATA, END };