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