| 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/prefs/pref_member.h" | 10 #include "base/prefs/pref_member.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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( |
| 67 const autofill::PasswordFormMap& best_matches) const override; | 67 const autofill::PasswordFormMap& best_matches) 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 bool IsPasswordSyncEnabled( | 72 password_manager::PasswordSyncState GetPasswordSyncState() const override; |
| 73 password_manager::CustomPassphraseState state) const override; | |
| 74 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; | 73 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
| 75 void LogSavePasswordProgress(const std::string& text) const override; | 74 void LogSavePasswordProgress(const std::string& text) const override; |
| 76 bool IsLoggingActive() const override; | 75 bool IsLoggingActive() const override; |
| 77 bool WasLastNavigationHTTPError() const override; | 76 bool WasLastNavigationHTTPError() const override; |
| 78 bool DidLastPageLoadEncounterSSLErrors() const override; | 77 bool DidLastPageLoadEncounterSSLErrors() const override; |
| 79 bool IsOffTheRecord() const override; | 78 bool IsOffTheRecord() const override; |
| 80 password_manager::PasswordManager* GetPasswordManager() override; | 79 password_manager::PasswordManager* GetPasswordManager() override; |
| 81 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; | 80 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; |
| 82 const GURL& GetMainFrameURL() const override; | 81 const GURL& GetMainFrameURL() const override; |
| 83 | 82 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool sync_credential_was_filtered_; | 174 bool sync_credential_was_filtered_; |
| 176 | 175 |
| 177 // Set to false to disable password saving (will no longer ask if you | 176 // Set to false to disable password saving (will no longer ask if you |
| 178 // want to save passwords but will continue to fill passwords). | 177 // want to save passwords but will continue to fill passwords). |
| 179 BooleanPrefMember saving_passwords_enabled_; | 178 BooleanPrefMember saving_passwords_enabled_; |
| 180 | 179 |
| 181 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 180 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
| 182 }; | 181 }; |
| 183 | 182 |
| 184 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 183 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |