| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 413 |
| 414 // Runs the security test for the renderer sandbox. | 414 // Runs the security test for the renderer sandbox. |
| 415 const char kTestSandbox[] = "test-sandbox"; | 415 const char kTestSandbox[] = "test-sandbox"; |
| 416 | 416 |
| 417 // Grant unlimited quota to store files to this process. | 417 // Grant unlimited quota to store files to this process. |
| 418 // Used for testing Pepper's FileRef/FileIO/FileSystem implementations. | 418 // Used for testing Pepper's FileRef/FileIO/FileSystem implementations. |
| 419 // DO NOT USE FOR OTHER PURPOSES. | 419 // DO NOT USE FOR OTHER PURPOSES. |
| 420 // TODO(dumi): remove the switch when we have a real quota implementation. | 420 // TODO(dumi): remove the switch when we have a real quota implementation. |
| 421 const char kUnlimitedQuotaForFiles[] = "unlimited-quota-for-files"; | 421 const char kUnlimitedQuotaForFiles[] = "unlimited-quota-for-files"; |
| 422 | 422 |
| 423 // This is for testing IndexedDB and will give any website you visit unlimited | |
| 424 // quota in IndexedDB. This should only be used for development and not general | |
| 425 // browsing. It is ignored in single process mode. | |
| 426 const char kUnlimitedQuotaForIndexedDB[] = "unlimited-quota-for-indexeddb"; | |
| 427 | |
| 428 // A string used to override the default user agent with a custom one. | 423 // A string used to override the default user agent with a custom one. |
| 429 const char kUserAgent[] = "user-agent"; | 424 const char kUserAgent[] = "user-agent"; |
| 430 | 425 |
| 431 // On POSIX only: the contents of this flag are prepended to the utility | 426 // On POSIX only: the contents of this flag are prepended to the utility |
| 432 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 427 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
| 433 // --args". | 428 // --args". |
| 434 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 429 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| 435 | 430 |
| 436 // Causes the process to run as a utility subprocess. | 431 // Causes the process to run as a utility subprocess. |
| 437 const char kUtilityProcess[] = "utility"; | 432 const char kUtilityProcess[] = "utility"; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // Specify the amount the trackpad should scroll by. | 473 // Specify the amount the trackpad should scroll by. |
| 479 const char kScrollPixels[] = "scroll-pixels"; | 474 const char kScrollPixels[] = "scroll-pixels"; |
| 480 #endif | 475 #endif |
| 481 | 476 |
| 482 #if !defined(OFFICIAL_BUILD) | 477 #if !defined(OFFICIAL_BUILD) |
| 483 // Causes the renderer process to throw an assertion on launch. | 478 // Causes the renderer process to throw an assertion on launch. |
| 484 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 479 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 485 #endif | 480 #endif |
| 486 | 481 |
| 487 } // namespace switches | 482 } // namespace switches |
| OLD | NEW |