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

Unified Diff: content/renderer/background_sync/background_sync_client_impl.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « content/public/common/mojo_geoposition.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/background_sync/background_sync_client_impl.cc
diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc
index 4b1c928c0ee2b6fb23bfd59416a848213e75c43b..bd420c0860c7f5afb2493e27bb96354a03276d42 100644
--- a/content/renderer/background_sync/background_sync_client_impl.cc
+++ b/content/renderer/background_sync/background_sync_client_impl.cc
@@ -70,15 +70,15 @@ void BackgroundSyncClientImpl::SyncDidGetRegistration(
callback = it->second;
sync_callbacks_.erase(it);
- if (error != BACKGROUND_SYNC_ERROR_NONE) {
- callback.Run(SERVICE_WORKER_EVENT_STATUS_ABORTED);
+ if (error != BackgroundSyncError::NONE) {
+ callback.Run(ServiceWorkerEventStatus::ABORTED);
return;
}
ServiceWorkerContextClient* client =
ServiceWorkerContextClient::ThreadSpecificInstance();
if (!client) {
- callback.Run(SERVICE_WORKER_EVENT_STATUS_ABORTED);
+ callback.Run(ServiceWorkerEventStatus::ABORTED);
return;
}
« no previous file with comments | « content/public/common/mojo_geoposition.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698