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

Unified Diff: content/browser/background_sync/background_sync_service_impl.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/browser/background_sync/background_sync_service_impl.h
diff --git a/content/browser/background_sync/background_sync_service_impl.h b/content/browser/background_sync/background_sync_service_impl.h
index c6d8034ca49c41053632b4d362f18feeab4ae880..29ce8fa3f23a42d1c523c2352a2be63ebda3a66a 100644
--- a/content/browser/background_sync/background_sync_service_impl.h
+++ b/content/browser/background_sync/background_sync_service_impl.h
@@ -12,27 +12,27 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_vector.h"
#include "content/browser/background_sync/background_sync_manager.h"
-#include "content/common/background_sync_service.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
+#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
namespace content {
class BackgroundSyncContext;
class CONTENT_EXPORT BackgroundSyncServiceImpl
- : public NON_EXPORTED_BASE(mojom::BackgroundSyncService) {
+ : public NON_EXPORTED_BASE(blink::mojom::BackgroundSyncService) {
public:
BackgroundSyncServiceImpl(
BackgroundSyncContext* background_sync_context,
- mojo::InterfaceRequest<mojom::BackgroundSyncService> request);
+ mojo::InterfaceRequest<blink::mojom::BackgroundSyncService> request);
~BackgroundSyncServiceImpl() override;
private:
friend class BackgroundSyncServiceImplTest;
- // mojom::BackgroundSyncService methods:
- void Register(content::mojom::SyncRegistrationPtr options,
+ // blink::mojom::BackgroundSyncService methods:
+ void Register(blink::mojom::SyncRegistrationPtr options,
int64_t sw_registration_id,
const RegisterCallback& callback) override;
void GetRegistrations(int64_t sw_registration_id,
@@ -52,7 +52,7 @@ class CONTENT_EXPORT BackgroundSyncServiceImpl
// background_sync_context_ owns this.
BackgroundSyncContext* background_sync_context_;
- mojo::Binding<mojom::BackgroundSyncService> binding_;
+ mojo::Binding<blink::mojom::BackgroundSyncService> binding_;
base::WeakPtrFactory<BackgroundSyncServiceImpl> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698