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

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

Issue 2602853002: Eliminate network fallback from ServiceWorkerContextRequestHandler. (Closed)
Patch Set: rm class 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 33df5b2aa237fdd5cf4627de2975fa2c2b92f3d7..3ed67ba33f4abb82da49716386d9da2e94b86508 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 ServiceWorkerProviderHostTest;
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(ServiceWorkerDispatcherHostTest,
DispatchExtendableMessageEvent_Fail);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
- UpdateBefore24Hours);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
- UpdateAfter24Hours);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
- UpdateForceBypassCache);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
- ServiceWorkerDataRequestAnnotation);
- FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest,
- SkipServiceWorkerForServiceWorkerRequest);
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTest, ContextSecurity);
struct OneShotGetReadyCallback {

Powered by Google App Engine
This is Rietveld 408576698