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

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

Issue 1358063004: Use mojo to connect to BackgroundSyncManager object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix crash in HasWindowProviderHost Created 5 years, 2 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/content_child.gypi ('k') | content/test/data/background_sync/background_sync_test_helpers.js » ('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 9ba8af3a7b5fd1235d29de97f24544337f9570db..b71f0f34e51e0bef041a5d6719859318dde75cf2 100644
--- a/content/renderer/background_sync/background_sync_client_impl.cc
+++ b/content/renderer/background_sync/background_sync_client_impl.cc
@@ -4,7 +4,7 @@
#include "content/renderer/background_sync/background_sync_client_impl.h"
-#include "content/child/background_sync/background_sync_provider_thread_proxy.h"
+#include "content/child/background_sync/background_sync_provider.h"
#include "content/child/background_sync/background_sync_type_converters.h"
#include "content/renderer/service_worker/service_worker_context_client.h"
#include "third_party/WebKit/public/platform/Platform.h"
@@ -38,9 +38,8 @@ void BackgroundSyncClientImpl::Sync(int64_t handle_id,
// it.
// TODO(jkarlin): Change the WebSyncPlatform to support
// DuplicateRegistrationHandle and then this cast can go.
- BackgroundSyncProviderThreadProxy* provider =
- static_cast<BackgroundSyncProviderThreadProxy*>(
- blink::Platform::current()->backgroundSyncProvider());
+ BackgroundSyncProvider* provider = static_cast<BackgroundSyncProvider*>(
+ blink::Platform::current()->backgroundSyncProvider());
DCHECK(provider);
// TODO(jkarlin): Find a way to claim the handle safely without requiring a
« no previous file with comments | « content/content_child.gypi ('k') | content/test/data/background_sync/background_sync_test_helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698