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/common/content_switches.h" | 5 #include "content/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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 // Enables experimental features for the geolocation API. | 249 // Enables experimental features for the geolocation API. |
250 // Current features: | 250 // Current features: |
251 // - CoreLocation support for Mac OS X 10.6 | 251 // - CoreLocation support for Mac OS X 10.6 |
252 // - Gateway location for Linux and Windows | 252 // - Gateway location for Linux and Windows |
253 // - Location platform support for Windows 7 | 253 // - Location platform support for Windows 7 |
254 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 254 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
255 | 255 |
256 // Load NPAPI plugins from the specified directory. | 256 // Load NPAPI plugins from the specified directory. |
257 const char kExtraPluginDir[] = "extra-plugin-dir"; | 257 const char kExtraPluginDir[] = "extra-plugin-dir"; |
258 | 258 |
259 // Causes the process to run as an extension subprocess. | |
260 const char kExtensionProcess[] = "extension"; | |
261 | |
262 // Some field tests may rendomized in the browser, and the randomly selected | 259 // Some field tests may rendomized in the browser, and the randomly selected |
263 // outcome needs to be propagated to the renderer. For instance, this is used | 260 // outcome needs to be propagated to the renderer. For instance, this is used |
264 // to modify histograms recorded in the renderer, or to get the renderer to | 261 // to modify histograms recorded in the renderer, or to get the renderer to |
265 // also set of its state (initialize, or not initialize components) to match the | 262 // also set of its state (initialize, or not initialize components) to match the |
266 // experiment(s). | 263 // experiment(s). |
267 // The argument is a string-ized list of experiment names, and the associated | 264 // The argument is a string-ized list of experiment names, and the associated |
268 // value that was randomly selected. In the recent implementetaion, the | 265 // value that was randomly selected. In the recent implementetaion, the |
269 // persistent representation generated by field_trial.cc and later decoded, is a | 266 // persistent representation generated by field_trial.cc and later decoded, is a |
270 // list of name and value pairs, separated by slashes. See field trial.cc for | 267 // list of name and value pairs, separated by slashes. See field trial.cc for |
271 // current details. | 268 // current details. |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 // instead of NSS for SSL. | 495 // instead of NSS for SSL. |
499 const char kUseSystemSSL[] = "use-system-ssl"; | 496 const char kUseSystemSSL[] = "use-system-ssl"; |
500 #endif | 497 #endif |
501 | 498 |
502 #if !defined(OFFICIAL_BUILD) | 499 #if !defined(OFFICIAL_BUILD) |
503 // Causes the renderer process to throw an assertion on launch. | 500 // Causes the renderer process to throw an assertion on launch. |
504 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 501 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
505 #endif | 502 #endif |
506 | 503 |
507 } // namespace switches | 504 } // namespace switches |
OLD | NEW |