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

Unified Diff: content/renderer/background_sync/background_sync_client_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
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/background_sync/background_sync_client_impl.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.h
diff --git a/content/renderer/background_sync/background_sync_client_impl.h b/content/renderer/background_sync/background_sync_client_impl.h
index d977ff12b0c4ca685314b955eefafe29d41b2ac8..921ca854ebdd5045b0a18c06663cbfde638b2deb 100644
--- a/content/renderer/background_sync/background_sync_client_impl.h
+++ b/content/renderer/background_sync/background_sync_client_impl.h
@@ -11,31 +11,33 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "content/common/background_sync_service.mojom.h"
#include "content/common/content_export.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
+#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
namespace content {
class CONTENT_EXPORT BackgroundSyncClientImpl
- : public NON_EXPORTED_BASE(mojom::BackgroundSyncServiceClient) {
+ : public NON_EXPORTED_BASE(blink::mojom::BackgroundSyncServiceClient) {
public:
- static void Create(
- mojo::InterfaceRequest<mojom::BackgroundSyncServiceClient> request);
+ static void Create(mojo::InterfaceRequest<
+ blink::mojom::BackgroundSyncServiceClient> request);
~BackgroundSyncClientImpl() override;
private:
- using SyncCallback = mojo::Callback<void(mojom::ServiceWorkerEventStatus)>;
+ using SyncCallback =
+ mojo::Callback<void(blink::mojom::ServiceWorkerEventStatus)>;
explicit BackgroundSyncClientImpl(
- mojo::InterfaceRequest<mojom::BackgroundSyncServiceClient> request);
+ mojo::InterfaceRequest<blink::mojom::BackgroundSyncServiceClient>
+ request);
// BackgroundSyncServiceClient methods:
void Sync(const mojo::String& tag,
- content::mojom::BackgroundSyncEventLastChance last_chance,
+ blink::mojom::BackgroundSyncEventLastChance last_chance,
const SyncCallback& callback) override;
- mojo::StrongBinding<mojom::BackgroundSyncServiceClient> binding_;
+ mojo::StrongBinding<blink::mojom::BackgroundSyncServiceClient> binding_;
DISALLOW_COPY_AND_ASSIGN(BackgroundSyncClientImpl);
};
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/background_sync/background_sync_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698