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 15 matching lines...) Expand all Loading... |
26 scoped_ptr<PasswordFormManager> form_to_save) override; | 26 scoped_ptr<PasswordFormManager> form_to_save) 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 base::Callback<void(const password_manager::CredentialInfo&)> callback) |
32 override; | 32 override; |
33 void AutomaticPasswordSave( | 33 void AutomaticPasswordSave( |
34 scoped_ptr<PasswordFormManager> saved_manager) override; | 34 scoped_ptr<PasswordFormManager> saved_manager) override; |
35 PrefService* GetPrefs() override; | 35 PrefService* GetPrefs() override; |
36 PasswordStore* GetPasswordStore() override; | 36 PasswordStore* GetPasswordStore() const override; |
37 | 37 |
38 private: | 38 private: |
39 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient); | 39 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace password_manager | 42 } // namespace password_manager |
43 | 43 |
44 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT
_H_ | 44 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_CLIENT
_H_ |
OLD | NEW |