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

Unified Diff: components/password_manager/content/browser/credential_manager_dispatcher.h

Issue 890943002: Add a global setting for "Auto sign-in". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/password_manager/content/browser/credential_manager_dispatcher.h
diff --git a/components/password_manager/content/browser/credential_manager_dispatcher.h b/components/password_manager/content/browser/credential_manager_dispatcher.h
index 813fa9814204a3b0345d0c902bff2c6372a61e23..e5984ba2987bc036dd056145ca1092113378272b 100644
--- a/components/password_manager/content/browser/credential_manager_dispatcher.h
+++ b/components/password_manager/content/browser/credential_manager_dispatcher.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/prefs/pref_member.h"
#include "components/password_manager/core/browser/password_store_consumer.h"
#include "content/public/browser/web_contents_observer.h"
@@ -86,6 +87,9 @@ class CredentialManagerDispatcher : public content::WebContentsObserver,
PasswordManagerClient* client_;
scoped_ptr<CredentialManagerPasswordFormManager> form_manager_;
+ // Set to false to disable automatic signing in.
+ BooleanPrefMember auto_signin_enabled_;
+
// When 'OnRequestCredential' is called, it in turn calls out to the
// PasswordStore; we store request details here in order to properly
// respond to the request once the PasswordStore gives us data.

Powered by Google App Engine
This is Rietveld 408576698