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

Unified Diff: content/test/test_background_sync_manager.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/test/BUILD.gn ('k') | content/test/test_background_sync_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_background_sync_manager.h
diff --git a/content/test/test_background_sync_manager.h b/content/test/test_background_sync_manager.h
index 932e83a18ff6a894bbe1dcf2f310b77003bf57b5..508152d327a229910db4a494d1a57941a0a20087 100644
--- a/content/test/test_background_sync_manager.h
+++ b/content/test/test_background_sync_manager.h
@@ -80,7 +80,7 @@ class TestBackgroundSyncManager : public BackgroundSyncManager {
// Accessors to internal state
base::Closure delayed_task() const { return delayed_task_; }
base::TimeDelta delayed_task_delta() const { return delayed_task_delta_; }
- mojom::BackgroundSyncEventLastChance last_chance() const {
+ blink::mojom::BackgroundSyncEventLastChance last_chance() const {
return last_chance_;
}
const BackgroundSyncParameters* background_sync_parameters() const {
@@ -107,7 +107,7 @@ class TestBackgroundSyncManager : public BackgroundSyncManager {
void DispatchSyncEvent(
const std::string& tag,
const scoped_refptr<ServiceWorkerVersion>& active_version,
- mojom::BackgroundSyncEventLastChance last_chance,
+ blink::mojom::BackgroundSyncEventLastChance last_chance,
const ServiceWorkerVersion::StatusCallback& callback) override;
// Override to just store delayed task, and allow tests to control the clock
@@ -140,8 +140,8 @@ class TestBackgroundSyncManager : public BackgroundSyncManager {
bool corrupt_backend_ = false;
bool delay_backend_ = false;
bool has_main_frame_provider_host_ = true;
- mojom::BackgroundSyncEventLastChance last_chance_ =
- mojom::BackgroundSyncEventLastChance::IS_NOT_LAST_CHANCE;
+ blink::mojom::BackgroundSyncEventLastChance last_chance_ =
+ blink::mojom::BackgroundSyncEventLastChance::IS_NOT_LAST_CHANCE;
base::Closure continuation_;
DispatchSyncCallback dispatch_sync_callback_;
base::Closure delayed_task_;
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/test_background_sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698