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

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

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/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 58bfe2bbfd46b404cfdab79485c55b34f63fbc25..bfa961e82c14c0e66e0752f5e4b95fee756ff4b8 100644
--- a/content/renderer/background_sync/background_sync_client_impl.cc
+++ b/content/renderer/background_sync/background_sync_client_impl.cc
@@ -19,26 +19,26 @@ namespace content {
// static
void BackgroundSyncClientImpl::Create(
- mojo::InterfaceRequest<mojom::BackgroundSyncServiceClient> request) {
+ mojo::InterfaceRequest<blink::mojom::BackgroundSyncServiceClient> request) {
new BackgroundSyncClientImpl(std::move(request));
}
BackgroundSyncClientImpl::~BackgroundSyncClientImpl() {}
BackgroundSyncClientImpl::BackgroundSyncClientImpl(
- mojo::InterfaceRequest<mojom::BackgroundSyncServiceClient> request)
+ mojo::InterfaceRequest<blink::mojom::BackgroundSyncServiceClient> request)
: binding_(this, std::move(request)) {}
void BackgroundSyncClientImpl::Sync(
const mojo::String& tag,
- content::mojom::BackgroundSyncEventLastChance last_chance,
+ blink::mojom::BackgroundSyncEventLastChance last_chance,
const SyncCallback& callback) {
DCHECK(!blink::Platform::current()->mainThread()->isCurrentThread());
ServiceWorkerContextClient* client =
ServiceWorkerContextClient::ThreadSpecificInstance();
if (!client) {
- callback.Run(mojom::ServiceWorkerEventStatus::ABORTED);
+ callback.Run(blink::mojom::ServiceWorkerEventStatus::ABORTED);
return;
}

Powered by Google App Engine
This is Rietveld 408576698