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

Side by Side Diff: content/browser/worker_host/worker_process_host.cc

Issue 339973003: Remove --enable-service-worker flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/worker_host/worker_process_host.h" 5 #include "content/browser/worker_host/worker_process_host.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 static const char* const kSwitchNames[] = { 198 static const char* const kSwitchNames[] = {
199 switches::kDisableApplicationCache, 199 switches::kDisableApplicationCache,
200 switches::kDisableDatabases, 200 switches::kDisableDatabases,
201 #if defined(OS_WIN) 201 #if defined(OS_WIN)
202 switches::kDisableDesktopNotifications, 202 switches::kDisableDesktopNotifications,
203 #endif 203 #endif
204 switches::kDisableFileSystem, 204 switches::kDisableFileSystem,
205 switches::kDisableSeccompFilterSandbox, 205 switches::kDisableSeccompFilterSandbox,
206 switches::kEnableExperimentalWebPlatformFeatures, 206 switches::kEnableExperimentalWebPlatformFeatures,
207 switches::kEnablePreciseMemoryInfo, 207 switches::kEnablePreciseMemoryInfo,
208 switches::kEnableServiceWorker,
209 #if defined(OS_MACOSX) 208 #if defined(OS_MACOSX)
210 switches::kEnableSandboxLogging, 209 switches::kEnableSandboxLogging,
211 #endif 210 #endif
212 switches::kJavaScriptFlags, 211 switches::kJavaScriptFlags,
213 switches::kNoSandbox 212 switches::kNoSandbox
214 }; 213 };
215 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames, 214 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames,
216 arraysize(kSwitchNames)); 215 arraysize(kSwitchNames));
217 216
218 bool debugging_child = false; 217 bool debugging_child = false;
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 return false; 820 return false;
822 } 821 }
823 822
824 WorkerProcessHost::WorkerInstance::FilterInfo 823 WorkerProcessHost::WorkerInstance::FilterInfo
825 WorkerProcessHost::WorkerInstance::GetFilter() const { 824 WorkerProcessHost::WorkerInstance::GetFilter() const {
826 DCHECK(NumFilters() == 1); 825 DCHECK(NumFilters() == 1);
827 return *filters_.begin(); 826 return *filters_.begin();
828 } 827 }
829 828
830 } // namespace content 829 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_utils.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698