Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2948783002: Create setting that disables password stores (Closed)
Patch Set: nits + tests Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 // Specifies which encryption storage backend to use. Possible values are 912 // Specifies which encryption storage backend to use. Possible values are
913 // kwallet, kwallet5, gnome, gnome-keyring, gnome-libsecret, basic. Any other 913 // kwallet, kwallet5, gnome, gnome-keyring, gnome-libsecret, basic. Any other
914 // value will lead to Chrome detecting the best backend automatically. 914 // value will lead to Chrome detecting the best backend automatically.
915 // TODO(crbug.com/571003): Once PasswordStore no longer uses the Keyring or 915 // TODO(crbug.com/571003): Once PasswordStore no longer uses the Keyring or
916 // KWallet for storing passwords, rename this flag to stop referencing 916 // KWallet for storing passwords, rename this flag to stop referencing
917 // passwords. Do not rename it sooner, though; developers and testers might 917 // passwords. Do not rename it sooner, though; developers and testers might
918 // rely on it keeping large amounts of testing passwords out of their Keyrings 918 // rely on it keeping large amounts of testing passwords out of their Keyrings
919 // or KWallets. 919 // or KWallets.
920 const char kPasswordStore[] = "password-store"; 920 const char kPasswordStore[] = "password-store";
921 921
922 // Enables the feature of allowing the user to disable the backend via a
923 // setting.
924 const char kEnableEncryptionSelection[] = "enable-encryption-selection";
925
922 // The same as the --class argument in X applications. Overrides the WM_CLASS 926 // The same as the --class argument in X applications. Overrides the WM_CLASS
923 // window property with the given value. 927 // window property with the given value.
924 const char kWmClass[] = "class"; 928 const char kWmClass[] = "class";
925 #endif 929 #endif
926 930
927 #if defined(OS_MACOSX) 931 #if defined(OS_MACOSX)
928 // Prevents Chrome from quitting when Chrome Apps are open. 932 // Prevents Chrome from quitting when Chrome Apps are open.
929 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; 933 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests";
930 934
931 // Disable the toolkit-views App Info dialog for Mac. 935 // Disable the toolkit-views App Info dialog for Mac.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 1153
1150 // ----------------------------------------------------------------------------- 1154 // -----------------------------------------------------------------------------
1151 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1155 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1152 // 1156 //
1153 // You were going to just dump your switches here, weren't you? Instead, please 1157 // You were going to just dump your switches here, weren't you? Instead, please
1154 // put them in alphabetical order above, or in order inside the appropriate 1158 // put them in alphabetical order above, or in order inside the appropriate
1155 // ifdef at the bottom. The order should match the header. 1159 // ifdef at the bottom. The order should match the header.
1156 // ----------------------------------------------------------------------------- 1160 // -----------------------------------------------------------------------------
1157 1161
1158 } // namespace switches 1162 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698