Index: content/browser/service_worker/service_worker_version.cc |
diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc |
index 1c9f725fc8ecc8526be74c45ad2e823cf56cc1f7..9c93adc7e14f76cf6bf530011e5c7a301f385fca 100644 |
--- a/content/browser/service_worker/service_worker_version.cc |
+++ b/content/browser/service_worker/service_worker_version.cc |
@@ -434,7 +434,7 @@ void ServiceWorkerVersion::DispatchFetchEvent( |
void ServiceWorkerVersion::DispatchSyncEvent(const StatusCallback& callback) { |
DCHECK_EQ(ACTIVATED, status()) << status(); |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableServiceWorkerSync)) { |
callback.Run(SERVICE_WORKER_ERROR_ABORT); |
return; |
@@ -465,7 +465,7 @@ void ServiceWorkerVersion::DispatchNotificationClickEvent( |
const PlatformNotificationData& notification_data) { |
DCHECK_EQ(ACTIVATED, status()) << status(); |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableExperimentalWebPlatformFeatures)) { |
callback.Run(SERVICE_WORKER_ERROR_ABORT); |
return; |
@@ -498,7 +498,7 @@ void ServiceWorkerVersion::DispatchPushEvent(const StatusCallback& callback, |
const std::string& data) { |
DCHECK_EQ(ACTIVATED, status()) << status(); |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableExperimentalWebPlatformFeatures)) { |
callback.Run(SERVICE_WORKER_ERROR_ABORT); |
return; |
@@ -530,7 +530,7 @@ void ServiceWorkerVersion::DispatchGeofencingEvent( |
const blink::WebCircularGeofencingRegion& region) { |
DCHECK_EQ(ACTIVATED, status()) << status(); |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableExperimentalWebPlatformFeatures)) { |
callback.Run(SERVICE_WORKER_ERROR_ABORT); |
return; |
@@ -565,7 +565,7 @@ void ServiceWorkerVersion::DispatchCrossOriginConnectEvent( |
const CrossOriginServiceWorkerClient& client) { |
DCHECK_EQ(ACTIVATED, status()) << status(); |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableExperimentalWebPlatformFeatures)) { |
callback.Run(SERVICE_WORKER_ERROR_ABORT, false); |
return; |