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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 2645813006: Download web payment manifests. (Closed)
Patch Set: At most INT_MAX sections in manifest and fingperints in section Created 3 years, 10 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/utility/chrome_content_utility_client.cc
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index 1e013333a9f040790e9720625fb07334929f33e4..bd3740b8d1beb91b9fb300f79a2f752b78d6a8a4 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -42,6 +42,8 @@
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "net/proxy/mojo_proxy_resolver_factory_impl.h"
#include "net/proxy/proxy_resolver_v8.h"
+#else
+#include "components/payments/content/android/utility/payment_manifest_parser.h"
#endif
#if defined(OS_CHROMEOS)
@@ -251,6 +253,8 @@ void ChromeContentUtilityClient::ExposeInterfacesToBrowser(
base::Bind(CreateProxyResolverFactory));
registry->AddInterface(base::Bind(CreateResourceUsageReporter));
registry->AddInterface(base::Bind(&ProfileImportHandler::Create));
+#else
+ registry->AddInterface(base::Bind(&payments::PaymentManifestParser::Create));
#endif
registry->AddInterface(
base::Bind(&safe_json::SafeJsonParserMojoImpl::Create));

Powered by Google App Engine
This is Rietveld 408576698