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

Unified Diff: content/browser/background_sync/background_sync_service_impl_unittest.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/background_sync/background_sync_service_impl_unittest.cc
diff --git a/content/browser/background_sync/background_sync_service_impl_unittest.cc b/content/browser/background_sync/background_sync_service_impl_unittest.cc
index 197cf17df63c40b97b0962d0f0a06167cfeec01c..1924a17ad926e2dbe02e6998bf6c2e9f54ae993e 100644
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc
@@ -26,6 +26,7 @@
#include "content/test/test_background_sync_context.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
#include "net/base/network_change_notifier.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -181,7 +182,8 @@ class BackgroundSyncServiceImplTest : public testing::Test {
mojo::InterfaceRequest<blink::mojom::BackgroundSyncService>
service_request = mojo::MakeRequest(&service_ptr_);
// Create a new BackgroundSyncServiceImpl bound to the dummy channel.
- background_sync_context_->CreateService(std::move(service_request));
+ background_sync_context_->CreateService(service_manager::BindSourceInfo(),
+ std::move(service_request));
base::RunLoop().RunUntilIdle();
service_impl_ = background_sync_context_->services_.begin()->first;

Powered by Google App Engine
This is Rietveld 408576698