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

Unified Diff: content/browser/background_sync/background_sync_registration.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/browser/background_sync/background_sync_registration.cc
diff --git a/content/browser/background_sync/background_sync_registration.cc b/content/browser/background_sync/background_sync_registration.cc
index d835e67d4cbff765c08080df4cf5e710c6c5366d..2657e0d79b089d3d159a898f837584ef0db24e24 100644
--- a/content/browser/background_sync/background_sync_registration.cc
+++ b/content/browser/background_sync/background_sync_registration.cc
@@ -29,10 +29,10 @@ bool BackgroundSyncRegistration::IsValid() const {
bool BackgroundSyncRegistration::IsFiring() const {
switch (sync_state_) {
- case mojom::BackgroundSyncState::FIRING:
- case mojom::BackgroundSyncState::REREGISTERED_WHILE_FIRING:
+ case blink::mojom::BackgroundSyncState::FIRING:
+ case blink::mojom::BackgroundSyncState::REREGISTERED_WHILE_FIRING:
return true;
- case mojom::BackgroundSyncState::PENDING:
+ case blink::mojom::BackgroundSyncState::PENDING:
return false;
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698