Chromium Code Reviews| 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 435 // and study painting behavior. | 435 // and study painting behavior. |
| 436 const char kShowPaintRects[] = "show-paint-rects"; | 436 const char kShowPaintRects[] = "show-paint-rects"; |
| 437 // | 437 // |
| 438 // TODO(scherkus): remove --simple-data-source when our media resource loading | 438 // TODO(scherkus): remove --simple-data-source when our media resource loading |
| 439 // is cleaned up and playback testing completed. | 439 // is cleaned up and playback testing completed. |
| 440 const char kSimpleDataSource[] = "simple-data-source"; | 440 const char kSimpleDataSource[] = "simple-data-source"; |
| 441 | 441 |
| 442 // Runs the renderer and plugins in the same process as the browser | 442 // Runs the renderer and plugins in the same process as the browser |
| 443 const char kSingleProcess[] = "single-process"; | 443 const char kSingleProcess[] = "single-process"; |
| 444 | 444 |
| 445 // Skip gpu info collection, blacklist loading, and blacklist auto-update | |
| 446 // scheduling at browser startup time. | |
|
Ken Russell (switch to Gerrit)
2011/10/24 21:04:41
Could you describe the side-effects of this? In pa
Zhenyao Mo
2011/10/24 21:42:19
Will do.
| |
| 447 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | |
| 448 | |
| 445 // Use SQLite as back-end for Indexed Database API. | 449 // Use SQLite as back-end for Indexed Database API. |
| 446 // Used for debugging differences between the LevelDB and SQLite back-end. | 450 // Used for debugging differences between the LevelDB and SQLite back-end. |
| 447 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; | 451 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; |
| 448 | 452 |
| 449 // Runs the security test for the renderer sandbox. | 453 // Runs the security test for the renderer sandbox. |
| 450 const char kTestSandbox[] = "test-sandbox"; | 454 const char kTestSandbox[] = "test-sandbox"; |
| 451 | 455 |
| 452 // A string used to override the default user agent with a custom one. | 456 // A string used to override the default user agent with a custom one. |
| 453 const char kUserAgent[] = "user-agent"; | 457 const char kUserAgent[] = "user-agent"; |
| 454 | 458 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 499 // instead of NSS for SSL. | 503 // instead of NSS for SSL. |
| 500 const char kUseSystemSSL[] = "use-system-ssl"; | 504 const char kUseSystemSSL[] = "use-system-ssl"; |
| 501 #endif | 505 #endif |
| 502 | 506 |
| 503 #if !defined(OFFICIAL_BUILD) | 507 #if !defined(OFFICIAL_BUILD) |
| 504 // Causes the renderer process to throw an assertion on launch. | 508 // Causes the renderer process to throw an assertion on launch. |
| 505 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 509 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 506 #endif | 510 #endif |
| 507 | 511 |
| 508 } // namespace switches | 512 } // namespace switches |
| OLD | NEW |