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

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

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.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index 6bb7aa3aef3b5924bf617675186797fe307093a2..174807c7f8a3c4a4054766c3becc01c10ed407fa 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -131,7 +131,7 @@ void BackgroundSyncProvider::WillStopCurrentWorkerThread() {
void BackgroundSyncProvider::RegisterCallback(
std::unique_ptr<blink::WebSyncRegistrationCallbacks> callbacks,
blink::mojom::BackgroundSyncError error,
- const blink::mojom::SyncRegistrationPtr& options) {
+ blink::mojom::SyncRegistrationPtr options) {
// TODO(iclelland): Determine the correct error message to return in each case
std::unique_ptr<blink::WebSyncRegistration> result;
switch (error) {
@@ -171,7 +171,7 @@ void BackgroundSyncProvider::RegisterCallback(
void BackgroundSyncProvider::GetRegistrationsCallback(
std::unique_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks,
blink::mojom::BackgroundSyncError error,
- const mojo::Array<blink::mojom::SyncRegistrationPtr>& registrations) {
+ mojo::Array<blink::mojom::SyncRegistrationPtr> registrations) {
// TODO(iclelland): Determine the correct error message to return in each case
switch (error) {
case blink::mojom::BackgroundSyncError::NONE: {
« no previous file with comments | « content/child/background_sync/background_sync_provider.h ('k') | content/child/permissions/permission_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698