OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 | 700 |
701 // The file descriptor limit is set to the value of this switch, subject to the | 701 // The file descriptor limit is set to the value of this switch, subject to the |
702 // OS hard limits. Useful for testing that file descriptor exhaustion is | 702 // OS hard limits. Useful for testing that file descriptor exhaustion is |
703 // handled gracefully. | 703 // handled gracefully. |
704 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 704 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
705 | 705 |
706 // Displays the First Run experience when the browser is started, regardless of | 706 // Displays the First Run experience when the browser is started, regardless of |
707 // whether or not it's actually the first run. | 707 // whether or not it's actually the first run. |
708 const char kFirstRun[] = "first-run"; | 708 const char kFirstRun[] = "first-run"; |
709 | 709 |
| 710 // Force a profile auto-import that would occur on a first run. |
| 711 const char kFirstRunForceImport[] = "first-run-force-import"; |
| 712 |
710 // Enables using GAIA information to populate profile name and icon. | 713 // Enables using GAIA information to populate profile name and icon. |
711 const char kGaiaProfileInfo[] = "gaia-profile-info"; | 714 const char kGaiaProfileInfo[] = "gaia-profile-info"; |
712 | 715 |
713 // Specifies an alternate URL to use for retrieving the search domain for | 716 // Specifies an alternate URL to use for retrieving the search domain for |
714 // Google. Useful for testing. | 717 // Google. Useful for testing. |
715 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; | 718 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; |
716 | 719 |
717 // Specifies a custom name for the GSSAPI library to load. | 720 // Specifies a custom name for the GSSAPI library to load. |
718 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 721 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
719 | 722 |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 #elif defined(OS_WIN) | 1636 #elif defined(OS_WIN) |
1634 return CommandLine::ForCurrentProcess()->HasSwitch( | 1637 return CommandLine::ForCurrentProcess()->HasSwitch( |
1635 switches::kEnableChromeStyleDialogs); | 1638 switches::kEnableChromeStyleDialogs); |
1636 #else | 1639 #else |
1637 return CommandLine::ForCurrentProcess()->HasSwitch( | 1640 return CommandLine::ForCurrentProcess()->HasSwitch( |
1638 switches::kEnableChromeStyleDialogs); | 1641 switches::kEnableChromeStyleDialogs); |
1639 #endif | 1642 #endif |
1640 } | 1643 } |
1641 | 1644 |
1642 } // namespace chrome | 1645 } // namespace chrome |
OLD | NEW |