| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // and study painting behavior. | 439 // and study painting behavior. |
| 440 const char kShowPaintRects[] = "show-paint-rects"; | 440 const char kShowPaintRects[] = "show-paint-rects"; |
| 441 // | 441 // |
| 442 // TODO(scherkus): remove --simple-data-source when our media resource loading | 442 // TODO(scherkus): remove --simple-data-source when our media resource loading |
| 443 // is cleaned up and playback testing completed. | 443 // is cleaned up and playback testing completed. |
| 444 const char kSimpleDataSource[] = "simple-data-source"; | 444 const char kSimpleDataSource[] = "simple-data-source"; |
| 445 | 445 |
| 446 // Runs the renderer and plugins in the same process as the browser | 446 // Runs the renderer and plugins in the same process as the browser |
| 447 const char kSingleProcess[] = "single-process"; | 447 const char kSingleProcess[] = "single-process"; |
| 448 | 448 |
| 449 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
| 450 // scheduling at browser startup time. |
| 451 // Therefore, all GPU features are available, and about:gpu page shows empty |
| 452 // content. The switch is intended only for tests. |
| 453 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
| 454 |
| 449 // Use SQLite as back-end for Indexed Database API. | 455 // Use SQLite as back-end for Indexed Database API. |
| 450 // Used for debugging differences between the LevelDB and SQLite back-end. | 456 // Used for debugging differences between the LevelDB and SQLite back-end. |
| 451 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; | 457 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; |
| 452 | 458 |
| 453 // Runs the security test for the renderer sandbox. | 459 // Runs the security test for the renderer sandbox. |
| 454 const char kTestSandbox[] = "test-sandbox"; | 460 const char kTestSandbox[] = "test-sandbox"; |
| 455 | 461 |
| 456 // A string used to override the default user agent with a custom one. | 462 // A string used to override the default user agent with a custom one. |
| 457 const char kUserAgent[] = "user-agent"; | 463 const char kUserAgent[] = "user-agent"; |
| 458 | 464 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 // instead of NSS for SSL. | 509 // instead of NSS for SSL. |
| 504 const char kUseSystemSSL[] = "use-system-ssl"; | 510 const char kUseSystemSSL[] = "use-system-ssl"; |
| 505 #endif | 511 #endif |
| 506 | 512 |
| 507 #if !defined(OFFICIAL_BUILD) | 513 #if !defined(OFFICIAL_BUILD) |
| 508 // Causes the renderer process to throw an assertion on launch. | 514 // Causes the renderer process to throw an assertion on launch. |
| 509 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 515 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 510 #endif | 516 #endif |
| 511 | 517 |
| 512 } // namespace switches | 518 } // namespace switches |
| OLD | NEW |