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

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.cc

Issue 2647243002: PaymentApp: Implement PaymentAppProvider for LayoutTest.
Patch Set: PaymentApp: Implement PaymentAppProvider for LayoutTest. Created 3 years, 11 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: content/shell/browser/layout_test/layout_test_content_browser_client.cc
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
index 3b25ecdfb4454d3c340439efcc88621c22bcd668..1a4afdd784ee6ce35290fc6b2229f5bcf7f2fb31 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
@@ -16,6 +16,7 @@
#include "content/shell/browser/layout_test/layout_test_browser_main_parts.h"
#include "content/shell/browser/layout_test/layout_test_message_filter.h"
#include "content/shell/browser/layout_test/layout_test_notification_manager.h"
+#include "content/shell/browser/layout_test/layout_test_payment_app_provider_impl.h"
#include "content/shell/browser/layout_test/layout_test_resource_dispatcher_host_delegate.h"
#include "content/shell/browser/shell_browser_context.h"
#include "content/shell/common/layout_test/layout_test_switches.h"
@@ -80,6 +81,8 @@ void LayoutTestContentBrowserClient::ExposeInterfacesToRenderer(
registry->AddInterface(
base::Bind(&LayoutTestBluetoothFakeAdapterSetterImpl::Create),
ui_task_runner);
+ registry->AddInterface(base::Bind(&LayoutTestPaymentAppProviderImpl::Create),
+ ui_task_runner);
}
void LayoutTestContentBrowserClient::OverrideWebkitPrefs(

Powered by Google App Engine
This is Rietveld 408576698