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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1029 // doesn't prevent the app list from running, it just makes Chrome think the app | 1029 // doesn't prevent the app list from running, it just makes Chrome think the app |
1030 // list hasn't been enabled (as in kEnableAppList) yet. | 1030 // list hasn't been enabled (as in kEnableAppList) yet. |
1031 const char kResetAppListInstallState[] = "reset-app-list-install-state"; | 1031 const char kResetAppListInstallState[] = "reset-app-list-install-state"; |
1032 | 1032 |
1033 // Indicates the last session should be restored on startup. This overrides the | 1033 // Indicates the last session should be restored on startup. This overrides the |
1034 // preferences value and is primarily intended for testing. The value of this | 1034 // preferences value and is primarily intended for testing. The value of this |
1035 // switch is the number of tabs to wait until loaded before 'load completed' is | 1035 // switch is the number of tabs to wait until loaded before 'load completed' is |
1036 // sent to the ui_test. | 1036 // sent to the ui_test. |
1037 const char kRestoreLastSession[] = "restore-last-session"; | 1037 const char kRestoreLastSession[] = "restore-last-session"; |
1038 | 1038 |
1039 // If set, Chrome will reuse any existing browsers for a specific profile. Used | |
tapted
2014/11/03 23:57:06
nit: "reuse" suggests to me that it will open a ne
noms (inactive)
2014/11/04 20:03:09
Oh, much better. I had a lot of trouble coming up
| |
1040 // for example by the fast-user switcher in the Windows JumpList. | |
1041 const char kReuseExistingProfileBrowser[] = "reuse-existing-profile-browser"; | |
1042 | |
1039 // Disable saving pages as HTML-only, disable saving pages as HTML Complete | 1043 // Disable saving pages as HTML-only, disable saving pages as HTML Complete |
1040 // (with a directory of sub-resources). Enable only saving pages as MHTML. | 1044 // (with a directory of sub-resources). Enable only saving pages as MHTML. |
1041 // See http://crbug.com/120416 for how to remove this switch. | 1045 // See http://crbug.com/120416 for how to remove this switch. |
1042 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; | 1046 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; |
1043 | 1047 |
1044 // If present, safebrowsing only performs update when | 1048 // If present, safebrowsing only performs update when |
1045 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. | 1049 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
1046 // This is used for testing only. | 1050 // This is used for testing only. |
1047 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; | 1051 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; |
1048 | 1052 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1370 | 1374 |
1371 // ----------------------------------------------------------------------------- | 1375 // ----------------------------------------------------------------------------- |
1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1373 // | 1377 // |
1374 // You were going to just dump your switches here, weren't you? Instead, please | 1378 // You were going to just dump your switches here, weren't you? Instead, please |
1375 // put them in alphabetical order above, or in order inside the appropriate | 1379 // put them in alphabetical order above, or in order inside the appropriate |
1376 // ifdef at the bottom. The order should match the header. | 1380 // ifdef at the bottom. The order should match the header. |
1377 // ----------------------------------------------------------------------------- | 1381 // ----------------------------------------------------------------------------- |
1378 | 1382 |
1379 } // namespace switches | 1383 } // namespace switches |
OLD | NEW |