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

Unified Diff: content/public/test/mock_service_worker_context.h

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: fix IPC Created 3 years, 4 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/public/test/mock_service_worker_context.h
diff --git a/content/public/test/mock_service_worker_context.h b/content/public/test/mock_service_worker_context.h
index 90c8cbe2411d91ecde05129ad1c90ab75385dda2..6300148207cf45c89deb178ecd7d9532a1a96424 100644
--- a/content/public/test/mock_service_worker_context.h
+++ b/content/public/test/mock_service_worker_context.h
@@ -23,9 +23,10 @@ class MockServiceWorkerContext : public ServiceWorkerContext {
MOCK_METHOD1(AddObserver, void(ServiceWorkerContextObserver*));
MOCK_METHOD1(RemoveObserver, void(ServiceWorkerContextObserver*));
- MOCK_METHOD3(RegisterServiceWorker,
+ MOCK_METHOD4(RegisterServiceWorker,
void(const ServiceWorkerContext::Scope&,
const GURL&,
+ const blink::WebServiceWorkerUpdateViaCache,
const ServiceWorkerContext::ResultCallback&));
MOCK_METHOD2(StartingExternalRequest, bool(int64_t, const std::string&));
MOCK_METHOD2(FinishedExternalRequest, bool(int64_t, const std::string&));

Powered by Google App Engine
This is Rietveld 408576698