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

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

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 #include "components/password_manager/core/browser/stub_password_manager_client. h" 5 #include "components/password_manager/core/browser/stub_password_manager_client. h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "components/password_manager/core/browser/credentials_filter.h" 9 #include "components/password_manager/core/browser/credentials_filter.h"
10 #include "components/password_manager/core/browser/password_form_manager.h" 10 #include "components/password_manager/core/browser/password_form_manager.h"
(...skipping 19 matching lines...) Expand all
30 scoped_ptr<PasswordFormManager> form_to_save, 30 scoped_ptr<PasswordFormManager> form_to_save,
31 password_manager::CredentialSourceType type, 31 password_manager::CredentialSourceType type,
32 bool update_password) { 32 bool update_password) {
33 return false; 33 return false;
34 } 34 }
35 35
36 bool StubPasswordManagerClient::PromptUserToChooseCredentials( 36 bool StubPasswordManagerClient::PromptUserToChooseCredentials(
37 ScopedVector<autofill::PasswordForm> local_forms, 37 ScopedVector<autofill::PasswordForm> local_forms,
38 ScopedVector<autofill::PasswordForm> federated_forms, 38 ScopedVector<autofill::PasswordForm> federated_forms,
39 const GURL& origin, 39 const GURL& origin,
40 base::Callback<void(const password_manager::CredentialInfo&)> callback) { 40 const CredentialsCallback& callback) {
41 return false; 41 return false;
42 } 42 }
43 43
44 void StubPasswordManagerClient::NotifyUserAutoSignin( 44 void StubPasswordManagerClient::NotifyUserAutoSignin(
45 ScopedVector<autofill::PasswordForm> local_forms, 45 ScopedVector<autofill::PasswordForm> local_forms,
46 const GURL& origin) {} 46 const GURL& origin) {}
47 47
48 void StubPasswordManagerClient::NotifyUserCouldBeAutoSignedIn( 48 void StubPasswordManagerClient::NotifyUserCouldBeAutoSignedIn(
49 scoped_ptr<autofill::PasswordForm> form) {} 49 scoped_ptr<autofill::PasswordForm> form) {}
50 50
(...skipping 19 matching lines...) Expand all
70 const CredentialsFilter* StubPasswordManagerClient::GetStoreResultFilter() 70 const CredentialsFilter* StubPasswordManagerClient::GetStoreResultFilter()
71 const { 71 const {
72 return &credentials_filter_; 72 return &credentials_filter_;
73 } 73 }
74 74
75 const LogManager* StubPasswordManagerClient::GetLogManager() const { 75 const LogManager* StubPasswordManagerClient::GetLogManager() const {
76 return &log_manager_; 76 return &log_manager_;
77 } 77 }
78 78
79 } // namespace password_manager 79 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698