| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |