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 CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 ScopedVector<autofill::PasswordForm> local_forms, | 56 ScopedVector<autofill::PasswordForm> local_forms, |
57 ScopedVector<autofill::PasswordForm> federated_forms, | 57 ScopedVector<autofill::PasswordForm> federated_forms, |
58 const GURL& origin, | 58 const GURL& origin, |
59 base::Callback<void(const password_manager::CredentialInfo&)> callback) | 59 base::Callback<void(const password_manager::CredentialInfo&)> callback) |
60 override; | 60 override; |
61 void ForceSavePassword() override; | 61 void ForceSavePassword() override; |
62 void NotifyUserAutoSignin( | 62 void NotifyUserAutoSignin( |
63 ScopedVector<autofill::PasswordForm> local_forms) override; | 63 ScopedVector<autofill::PasswordForm> local_forms) override; |
64 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> | 64 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> |
65 saved_form_manager) override; | 65 saved_form_manager) override; |
66 void PasswordWasAutofilled( | 66 void PasswordWasAutofilled(const autofill::PasswordFormMap& best_matches, |
67 const autofill::PasswordFormMap& best_matches) const override; | 67 const GURL& origin) const override; |
68 void PasswordAutofillWasBlocked( | 68 void PasswordAutofillWasBlocked( |
69 const autofill::PasswordFormMap& best_matches) const override; | 69 const autofill::PasswordFormMap& best_matches) const override; |
70 PrefService* GetPrefs() override; | 70 PrefService* GetPrefs() override; |
71 password_manager::PasswordStore* GetPasswordStore() const override; | 71 password_manager::PasswordStore* GetPasswordStore() const override; |
72 password_manager::PasswordSyncState GetPasswordSyncState() const override; | 72 password_manager::PasswordSyncState GetPasswordSyncState() const override; |
73 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; | 73 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
74 void LogSavePasswordProgress(const std::string& text) const override; | 74 void LogSavePasswordProgress(const std::string& text) const override; |
75 bool IsLoggingActive() const override; | 75 bool IsLoggingActive() const override; |
76 bool WasLastNavigationHTTPError() const override; | 76 bool WasLastNavigationHTTPError() const override; |
77 bool DidLastPageLoadEncounterSSLErrors() const override; | 77 bool DidLastPageLoadEncounterSSLErrors() const override; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Set to false to disable password saving (will no longer ask if you | 169 // Set to false to disable password saving (will no longer ask if you |
170 // want to save passwords and also won't fill the passwords). | 170 // want to save passwords and also won't fill the passwords). |
171 BooleanPrefMember saving_and_filling_passwords_enabled_; | 171 BooleanPrefMember saving_and_filling_passwords_enabled_; |
172 | 172 |
173 const password_manager::SyncStoreResultFilter credentials_filter_; | 173 const password_manager::SyncStoreResultFilter credentials_filter_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 175 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
176 }; | 176 }; |
177 | 177 |
178 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 178 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |