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

Side by Side Diff: components/password_manager/core/browser/stub_password_manager_client.h

Issue 1832933002: Update the |skip_zero_click| flag of a credential when selected in the account chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 8 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
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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/password_manager/core/browser/password_manager_client.h" 9 #include "components/password_manager/core/browser/password_manager_client.h"
10 #include "components/password_manager/core/browser/stub_log_manager.h" 10 #include "components/password_manager/core/browser/stub_log_manager.h"
(...skipping 10 matching lines...) Expand all
21 21
22 // PasswordManagerClient: 22 // PasswordManagerClient:
23 bool PromptUserToSaveOrUpdatePassword( 23 bool PromptUserToSaveOrUpdatePassword(
24 scoped_ptr<PasswordFormManager> form_to_save, 24 scoped_ptr<PasswordFormManager> form_to_save,
25 password_manager::CredentialSourceType type, 25 password_manager::CredentialSourceType type,
26 bool update_password) override; 26 bool update_password) override;
27 bool PromptUserToChooseCredentials( 27 bool PromptUserToChooseCredentials(
28 ScopedVector<autofill::PasswordForm> local_forms, 28 ScopedVector<autofill::PasswordForm> local_forms,
29 ScopedVector<autofill::PasswordForm> federated_forms, 29 ScopedVector<autofill::PasswordForm> federated_forms,
30 const GURL& origin, 30 const GURL& origin,
31 base::Callback<void(const password_manager::CredentialInfo&)> callback) 31 const CredentialsCallback& callback) override;
32 override;
33 void NotifyUserAutoSignin(ScopedVector<autofill::PasswordForm> local_forms, 32 void NotifyUserAutoSignin(ScopedVector<autofill::PasswordForm> local_forms,
34 const GURL& origin) override; 33 const GURL& origin) override;
35 void NotifyUserCouldBeAutoSignedIn( 34 void NotifyUserCouldBeAutoSignedIn(
36 scoped_ptr<autofill::PasswordForm>) override; 35 scoped_ptr<autofill::PasswordForm>) override;
37 void NotifySuccessfulLoginWithExistingPassword( 36 void NotifySuccessfulLoginWithExistingPassword(
38 const autofill::PasswordForm& form) override; 37 const autofill::PasswordForm& form) override;
39 void AutomaticPasswordSave( 38 void AutomaticPasswordSave(
40 scoped_ptr<PasswordFormManager> saved_manager) override; 39 scoped_ptr<PasswordFormManager> saved_manager) override;
41 PrefService* GetPrefs() override; 40 PrefService* GetPrefs() override;
42 PasswordStore* GetPasswordStore() const override; 41 PasswordStore* GetPasswordStore() const override;
(...skipping 16 matching lines...) Expand all
59 58
60 const PassThroughCredentialsFilter credentials_filter_; 59 const PassThroughCredentialsFilter credentials_filter_;
61 StubLogManager log_manager_; 60 StubLogManager log_manager_;
62 61
63 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient); 62 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient);
64 }; 63 };
65 64
66 } // namespace password_manager 65 } // namespace password_manager
67 66
68 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT _H_ 67 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698