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

Unified Diff: components/password_manager/core/common/password_manager_features.cc

Issue 1488763003: [Password Manager] Switch password manager code to use "base/feature_list.h". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses nit. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/common/password_manager_features.cc
diff --git a/components/password_manager/core/common/password_manager_features.cc b/components/password_manager/core/common/password_manager_features.cc
new file mode 100644
index 0000000000000000000000000000000000000000..eeb74426077b3b8622b6f660193a7a58ebe50bde
--- /dev/null
+++ b/components/password_manager/core/common/password_manager_features.cc
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/password_manager/core/common/password_manager_features.h"
+
+namespace password_manager {
+
+namespace features {
+
+// Disables the save-password prompt. Passwords are then saved automatically,
+// without asking the user.
+const base::Feature kEnableAutomaticPasswordSaving = {
+ "enable-automatic-password-saving", base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Enable supporting of updating password in the password manager on a password
+// change form submit.
+const base::Feature kEnablePasswordChangeSupport = {
+ "enable-password-change-support", base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Enable a context menu item in the password field that allows the user
+// to manually enforce saving of their password.
+const base::Feature kEnablePasswordForceSaving = {
+ "enable-password-force-saving", base::FEATURE_DISABLED_BY_DEFAULT};
+
+} // namespace features
+
+} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698