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

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

Issue 1960843002: [OnionSoup] Move background_sync.mojom from //content to //third_party/WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng@'s comment Created 4 years, 7 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 cdfe270a903bd8860fd84a1a40044470c84cbbdc..fc3f0a13d0f4e375b2cb4c0079fdc5ba8ddfe3c6 100644
--- a/content/child/background_sync/background_sync_provider.h
+++ b/content/child/background_sync/background_sync_provider.h
@@ -11,9 +11,9 @@
#include <string>
#include "base/macros.h"
-#include "content/common/background_sync_service.mojom.h"
#include "content/public/child/worker_thread.h"
#include "third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h"
+#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
namespace base {
class SingleThreadTaskRunner;
@@ -60,17 +60,17 @@ class BackgroundSyncProvider : public blink::WebSyncProvider,
// Callback handlers
void RegisterCallback(
std::unique_ptr<blink::WebSyncRegistrationCallbacks> callbacks,
- mojom::BackgroundSyncError error,
- const mojom::SyncRegistrationPtr& options);
+ blink::mojom::BackgroundSyncError error,
+ const blink::mojom::SyncRegistrationPtr& options);
void GetRegistrationsCallback(
std::unique_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks,
- mojom::BackgroundSyncError error,
- const mojo::Array<mojom::SyncRegistrationPtr>& registrations);
+ blink::mojom::BackgroundSyncError error,
+ const mojo::Array<blink::mojom::SyncRegistrationPtr>& registrations);
// Helper method that returns an initialized BackgroundSyncServicePtr.
- mojom::BackgroundSyncServicePtr& GetBackgroundSyncServicePtr();
+ blink::mojom::BackgroundSyncServicePtr& GetBackgroundSyncServicePtr();
- mojom::BackgroundSyncServicePtr background_sync_service_;
+ blink::mojom::BackgroundSyncServicePtr background_sync_service_;
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
DISALLOW_COPY_AND_ASSIGN(BackgroundSyncProvider);

Powered by Google App Engine
This is Rietveld 408576698