| 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 #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 "components/password_manager/core/browser/password_manager_client.h" | 8 #include "components/password_manager/core/browser/password_manager_client.h" |
| 9 | 9 |
| 10 namespace password_manager { | 10 namespace password_manager { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 bool PromptUserToSavePassword( | 25 bool PromptUserToSavePassword( |
| 26 scoped_ptr<PasswordFormManager> form_to_save) override; | 26 scoped_ptr<PasswordFormManager> form_to_save) override; |
| 27 bool PromptUserToChooseCredentials( | 27 bool PromptUserToChooseCredentials( |
| 28 const std::vector<autofill::PasswordForm*>& forms, | 28 const std::vector<autofill::PasswordForm*>& forms, |
| 29 base::Callback<void(const password_manager::CredentialInfo&)> | 29 base::Callback<void(const password_manager::CredentialInfo&)> |
| 30 callback) override; | 30 callback) override; |
| 31 void AutomaticPasswordSave( | 31 void AutomaticPasswordSave( |
| 32 scoped_ptr<PasswordFormManager> saved_manager) override; | 32 scoped_ptr<PasswordFormManager> saved_manager) override; |
| 33 PrefService* GetPrefs() override; | 33 PrefService* GetPrefs() override; |
| 34 PasswordStore* GetPasswordStore() override; | 34 PasswordStore* GetPasswordStore() override; |
| 35 PasswordManagerDriver* GetDriver() override; | |
| 36 | 35 |
| 37 private: | 36 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient); | 37 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient); |
| 39 }; | 38 }; |
| 40 | 39 |
| 41 } // namespace password_manager | 40 } // namespace password_manager |
| 42 | 41 |
| 43 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT
_H_ | 42 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT
_H_ |
| OLD | NEW |