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

Unified Diff: content/browser/payments/payment_app_content_unittest_base.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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/browser/payments/payment_app_content_unittest_base.cc
diff --git a/content/browser/payments/payment_app_content_unittest_base.cc b/content/browser/payments/payment_app_content_unittest_base.cc
index 6f9ce5aad7d5e3f51fe3716ffebc15a056a777a9..c4f73ab1dd7968fba2a1394355190b5fb4a08dd1 100644
--- a/content/browser/payments/payment_app_content_unittest_base.cc
+++ b/content/browser/payments/payment_app_content_unittest_base.cc
@@ -21,6 +21,7 @@
#include "content/public/test/test_browser_thread_bundle.h"
#include "mojo/public/cpp/bindings/associated_interface_ptr.h"
#include "mojo/public/cpp/bindings/interface_request.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace content {
@@ -132,7 +133,8 @@ PaymentManager* PaymentAppContentUnitTestBase::CreatePaymentManager(
mojo::InterfaceRequest<payments::mojom::PaymentManager> request =
mojo::MakeRequest(&manager);
payment_managers_.push_back(std::move(manager));
- payment_app_context()->CreatePaymentManager(std::move(request));
+ payment_app_context()->CreatePaymentManager(service_manager::BindSourceInfo(),
+ std::move(request));
base::RunLoop().RunUntilIdle();
// Find a last registered payment manager.

Powered by Google App Engine
This is Rietveld 408576698