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

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

Issue 14940009: Rename the "Experimental WebKit Features" flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 5 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 cmd_line->AppendSwitchASCII(switches::kLang, locale); 168 cmd_line->AppendSwitchASCII(switches::kLang, locale);
169 169
170 static const char* const kSwitchNames[] = { 170 static const char* const kSwitchNames[] = {
171 switches::kDisableApplicationCache, 171 switches::kDisableApplicationCache,
172 switches::kDisableDatabases, 172 switches::kDisableDatabases,
173 #if defined(OS_WIN) 173 #if defined(OS_WIN)
174 switches::kDisableDesktopNotifications, 174 switches::kDisableDesktopNotifications,
175 #endif 175 #endif
176 switches::kDisableFileSystem, 176 switches::kDisableFileSystem,
177 switches::kDisableSeccompFilterSandbox, 177 switches::kDisableSeccompFilterSandbox,
178 switches::kEnableExperimentalWebKitFeatures, 178 switches::kEnableExperimentalWebPlatformFeatures,
179 #if defined(OS_MACOSX) 179 #if defined(OS_MACOSX)
180 switches::kEnableSandboxLogging, 180 switches::kEnableSandboxLogging,
181 #endif 181 #endif
182 }; 182 };
183 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames, 183 cmd_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), kSwitchNames,
184 arraysize(kSwitchNames)); 184 arraysize(kSwitchNames));
185 185
186 #if defined(OS_POSIX) 186 #if defined(OS_POSIX)
187 bool use_zygote = true; 187 bool use_zygote = true;
188 188
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 return false; 715 return false;
716 } 716 }
717 717
718 WorkerProcessHost::WorkerInstance::FilterInfo 718 WorkerProcessHost::WorkerInstance::FilterInfo
719 WorkerProcessHost::WorkerInstance::GetFilter() const { 719 WorkerProcessHost::WorkerInstance::GetFilter() const {
720 DCHECK(NumFilters() == 1); 720 DCHECK(NumFilters() == 1);
721 return *filters_.begin(); 721 return *filters_.begin();
722 } 722 }
723 723
724 } // namespace content 724 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698