Index: content/common/service_worker/service_worker_utils.cc |
diff --git a/content/common/service_worker/service_worker_utils.cc b/content/common/service_worker/service_worker_utils.cc |
index fb3e7251f1a60cb761080b74132d923d1a18e301..30faed4513617bdbe49af964b5d364da2e0f6d8d 100644 |
--- a/content/common/service_worker/service_worker_utils.cc |
+++ b/content/common/service_worker/service_worker_utils.cc |
@@ -6,7 +6,6 @@ |
#include <string> |
-#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/strings/string_util.h" |
#include "content/public/common/origin_util.h" |
@@ -119,12 +118,6 @@ |
OriginCanAccessServiceWorkers(script_url); |
} |
-// static |
-bool ServiceWorkerUtils::IsMojoForServiceWorkerEnabled() { |
- return base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kMojoServiceWorker); |
-} |
- |
bool LongestScopeMatcher::MatchLongest(const GURL& scope) { |
if (!ServiceWorkerUtils::ScopeMatches(scope, url_)) |
return false; |