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

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

Issue 1968443002: Kill the autofill password manager in case 'store()' was called. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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 <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const CredentialsCallback& callback) override; 61 const CredentialsCallback& callback) override;
62 void ForceSavePassword() override; 62 void ForceSavePassword() override;
63 void GeneratePassword() override; 63 void GeneratePassword() override;
64 void NotifyUserAutoSignin( 64 void NotifyUserAutoSignin(
65 ScopedVector<autofill::PasswordForm> local_forms, 65 ScopedVector<autofill::PasswordForm> local_forms,
66 const GURL& origin) override; 66 const GURL& origin) override;
67 void NotifyUserCouldBeAutoSignedIn( 67 void NotifyUserCouldBeAutoSignedIn(
68 std::unique_ptr<autofill::PasswordForm> form) override; 68 std::unique_ptr<autofill::PasswordForm> form) override;
69 void NotifySuccessfulLoginWithExistingPassword( 69 void NotifySuccessfulLoginWithExistingPassword(
70 const autofill::PasswordForm& form) override; 70 const autofill::PasswordForm& form) override;
71 void NotifyStorePasswordCalled() override;
71 void AutomaticPasswordSave( 72 void AutomaticPasswordSave(
72 std::unique_ptr<password_manager::PasswordFormManager> saved_form_manager) 73 std::unique_ptr<password_manager::PasswordFormManager> saved_form_manager)
73 override; 74 override;
74 void PasswordWasAutofilled( 75 void PasswordWasAutofilled(
75 const autofill::PasswordFormMap& best_matches, 76 const autofill::PasswordFormMap& best_matches,
76 const GURL& origin, 77 const GURL& origin,
77 const std::vector<std::unique_ptr<autofill::PasswordForm>>* 78 const std::vector<std::unique_ptr<autofill::PasswordForm>>*
78 federated_matches) const override; 79 federated_matches) const override;
79 PrefService* GetPrefs() override; 80 PrefService* GetPrefs() override;
80 password_manager::PasswordStore* GetPasswordStore() const override; 81 password_manager::PasswordStore* GetPasswordStore() const override;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 std::unique_ptr<password_manager::LogManager> log_manager_; 188 std::unique_ptr<password_manager::LogManager> log_manager_;
188 189
189 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 190 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
190 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 191 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
191 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 192 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
192 193
193 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 194 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
194 }; 195 };
195 196
196 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 197 #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