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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 1735013004: CREDENTIAL: Only toggle 'skip_zero_click' state if API is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 9 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 | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool PromptUserToChooseCredentials( 55 bool PromptUserToChooseCredentials(
56 ScopedVector<autofill::PasswordForm> local_forms, 56 ScopedVector<autofill::PasswordForm> local_forms,
57 ScopedVector<autofill::PasswordForm> federated_forms, 57 ScopedVector<autofill::PasswordForm> federated_forms,
58 const GURL& origin, 58 const GURL& origin,
59 base::Callback<void(const password_manager::CredentialInfo&)> callback) 59 base::Callback<void(const password_manager::CredentialInfo&)> callback)
60 override; 60 override;
61 void ForceSavePassword() override; 61 void ForceSavePassword() override;
62 void GeneratePassword() override; 62 void GeneratePassword() override;
63 void NotifyUserAutoSignin( 63 void NotifyUserAutoSignin(
64 ScopedVector<autofill::PasswordForm> local_forms) override; 64 ScopedVector<autofill::PasswordForm> local_forms) override;
65 void NotifyUserAutoSigninBlockedOnFirstRun( 65 void NotifyUserCouldBeAutoSignedIn(
66 scoped_ptr<autofill::PasswordForm> form) override; 66 scoped_ptr<autofill::PasswordForm> form) override;
67 void NotifySuccessfulLoginWithExistingPassword( 67 void NotifySuccessfulLoginWithExistingPassword(
68 const autofill::PasswordForm& form) override; 68 const autofill::PasswordForm& form) override;
69 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> 69 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager>
70 saved_form_manager) override; 70 saved_form_manager) override;
71 void PasswordWasAutofilled(const autofill::PasswordFormMap& best_matches, 71 void PasswordWasAutofilled(const autofill::PasswordFormMap& best_matches,
72 const GURL& origin) const override; 72 const GURL& origin) const override;
73 PrefService* GetPrefs() override; 73 PrefService* GetPrefs() override;
74 password_manager::PasswordStore* GetPasswordStore() const override; 74 password_manager::PasswordStore* GetPasswordStore() const override;
75 password_manager::PasswordSyncState GetPasswordSyncState() const override; 75 password_manager::PasswordSyncState GetPasswordSyncState() const override;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 autofill::PasswordGenerationPopupControllerImpl> popup_controller_; 174 autofill::PasswordGenerationPopupControllerImpl> popup_controller_;
175 175
176 // Set to false to disable password saving (will no longer ask if you 176 // Set to false to disable password saving (will no longer ask if you
177 // want to save passwords and also won't fill the passwords). 177 // want to save passwords and also won't fill the passwords).
178 BooleanPrefMember saving_and_filling_passwords_enabled_; 178 BooleanPrefMember saving_and_filling_passwords_enabled_;
179 179
180 const password_manager::SyncCredentialsFilter credentials_filter_; 180 const password_manager::SyncCredentialsFilter credentials_filter_;
181 181
182 scoped_ptr<password_manager::LogManager> log_manager_; 182 scoped_ptr<password_manager::LogManager> log_manager_;
183 183
184 // Set during 'NotifyUserAutoSigninBlockedOnFirstRun' in order to store the 184 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
185 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 185 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
186 scoped_ptr<autofill::PasswordForm> form_blocked_on_first_run_; 186 scoped_ptr<autofill::PasswordForm> possible_auto_sign_in_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 188 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
189 }; 189 };
190 190
191 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 191 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698