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

Unified Diff: content/child/background_sync/background_sync_provider.h

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/child/background_sync/background_sync_provider.h
diff --git a/content/child/background_sync/background_sync_provider.h b/content/child/background_sync/background_sync_provider.h
index fc3f0a13d0f4e375b2cb4c0079fdc5ba8ddfe3c6..7dd44064a0ba6ea3ccae0fdfbd76e71331f7d3de 100644
--- a/content/child/background_sync/background_sync_provider.h
+++ b/content/child/background_sync/background_sync_provider.h
@@ -61,11 +61,11 @@ class BackgroundSyncProvider : public blink::WebSyncProvider,
void RegisterCallback(
std::unique_ptr<blink::WebSyncRegistrationCallbacks> callbacks,
blink::mojom::BackgroundSyncError error,
- const blink::mojom::SyncRegistrationPtr& options);
+ blink::mojom::SyncRegistrationPtr options);
void GetRegistrationsCallback(
std::unique_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks,
blink::mojom::BackgroundSyncError error,
- const mojo::Array<blink::mojom::SyncRegistrationPtr>& registrations);
+ mojo::Array<blink::mojom::SyncRegistrationPtr> registrations);
// Helper method that returns an initialized BackgroundSyncServicePtr.
blink::mojom::BackgroundSyncServicePtr& GetBackgroundSyncServicePtr();

Powered by Google App Engine
This is Rietveld 408576698