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

Unified Diff: content/common/service_worker/service_worker_utils.h

Issue 2931033005: Small fixes for Servicified SW code path (Closed)
Patch Set: . Created 3 years, 6 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/common/service_worker/service_worker_utils.h
diff --git a/content/common/service_worker/service_worker_utils.h b/content/common/service_worker/service_worker_utils.h
index 8c9b52899b3c7258a2c5e65d5e690f518127a625..05ee6874c9963400242c0c2b2e2d0960ae269a15 100644
--- a/content/common/service_worker/service_worker_utils.h
+++ b/content/common/service_worker/service_worker_utils.h
@@ -51,6 +51,9 @@ class ServiceWorkerUtils {
CONTENT_EXPORT static bool AllOriginsMatchAndCanAccessServiceWorkers(
const std::vector<GURL>& urls);
+ // Returns true if servicified service worker is enabled.
+ CONTENT_EXPORT static bool IsServicificationEnabled();
+
// PlzNavigate
// Returns true if the |provider_id| was assigned by the browser process.
static bool IsBrowserAssignedProviderId(int provider_id) {
« no previous file with comments | « content/child/service_worker/service_worker_network_provider.cc ('k') | content/common/service_worker/service_worker_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698