OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 // Cause the OS X sandbox write to syslog every time an access to a resource | 235 // Cause the OS X sandbox write to syslog every time an access to a resource |
236 // is denied by the sandbox. | 236 // is denied by the sandbox. |
237 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 237 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
238 | 238 |
239 // Enable the seccomp sandbox (Linux only) | 239 // Enable the seccomp sandbox (Linux only) |
240 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 240 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
241 | 241 |
242 // Enables StatsTable, logging statistics to a global named shared memory table. | 242 // Enables StatsTable, logging statistics to a global named shared memory table. |
243 const char kEnableStatsTable[] = "enable-stats-table"; | 243 const char kEnableStatsTable[] = "enable-stats-table"; |
244 | 244 |
245 // Experimentally ensure each renderer process has pages from only one site. | 245 // Experimentally ensure each renderer process only has access to the cookies |
246 // for the top-level site. | |
Charlie Reis
2011/11/10 01:09:26
I think we're talking about two different things h
| |
246 // This is expected to break compatibility with many pages for now. | 247 // This is expected to break compatibility with many pages for now. |
247 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; | 248 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; |
248 | 249 |
249 // Enable multithreaded GPU compositing of web content. | 250 // Enable multithreaded GPU compositing of web content. |
250 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 251 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
251 | 252 |
252 // Enable use of experimental TCP sockets API for sending data in the | 253 // Enable use of experimental TCP sockets API for sending data in the |
253 // SYN packet. | 254 // SYN packet. |
254 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 255 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
255 | 256 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
515 // instead of NSS for SSL. | 516 // instead of NSS for SSL. |
516 const char kUseSystemSSL[] = "use-system-ssl"; | 517 const char kUseSystemSSL[] = "use-system-ssl"; |
517 #endif | 518 #endif |
518 | 519 |
519 #if !defined(OFFICIAL_BUILD) | 520 #if !defined(OFFICIAL_BUILD) |
520 // Causes the renderer process to throw an assertion on launch. | 521 // Causes the renderer process to throw an assertion on launch. |
521 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 522 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
522 #endif | 523 #endif |
523 | 524 |
524 } // namespace switches | 525 } // namespace switches |
OLD | NEW |