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

Unified Diff: content/browser/service_worker/service_worker_provider_host.h

Issue 2602853002: Eliminate network fallback from ServiceWorkerContextRequestHandler. (Closed)
Patch Set: ok Created 3 years, 11 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/service_worker/service_worker_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 4879e4fac67d0f92d84625f64add522cfb572e34..e7135a131ed11091ca2dce87485ea7357c1df976 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -299,6 +299,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
friend class LinkHeaderServiceWorkerTest;
friend class ServiceWorkerProviderHostTestP;
friend class ServiceWorkerWriteToCacheJobTest;
+ friend class ServiceWorkerContextRequestHandlerTest;
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, Update_SameScript);
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest,
Update_SameSizeScript);
@@ -312,16 +313,6 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
DispatchExtendableMessageEvent);
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTestP,
DispatchExtendableMessageEvent_Fail);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
- UpdateBefore24Hours);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
- UpdateAfter24Hours);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
- UpdateForceBypassCache);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
- ServiceWorkerDataRequestAnnotation);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
- SkipServiceWorkerForServiceWorkerRequest);
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTestP, ContextSecurity);
struct OneShotGetReadyCallback {

Powered by Google App Engine
This is Rietveld 408576698