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

Unified Diff: content/browser/background_sync/background_sync_context.h

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_context.h
diff --git a/content/browser/background_sync/background_sync_context.h b/content/browser/background_sync/background_sync_context.h
index 4d3ecf32a07e8e903cc9e4937cc35334af2cac73..453299b34f0561048593eb758010efe3171aa16a 100644
--- a/content/browser/background_sync/background_sync_context.h
+++ b/content/browser/background_sync/background_sync_context.h
@@ -13,6 +13,10 @@
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class BackgroundSyncManager;
@@ -36,8 +40,8 @@ class CONTENT_EXPORT BackgroundSyncContext
// Create a BackgroundSyncServiceImpl that is owned by this. Call on the UI
// thread.
- void CreateService(
- mojo::InterfaceRequest<blink::mojom::BackgroundSyncService> request);
+ void CreateService(const service_manager::BindSourceInfo& source_info,
+ blink::mojom::BackgroundSyncServiceRequest request);
// Called by BackgroundSyncServiceImpl objects so that they can
// be deleted. Call on the IO thread.

Powered by Google App Engine
This is Rietveld 408576698