| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 password_manager::PasswordSyncState GetPasswordSyncState() const override; | 73 password_manager::PasswordSyncState GetPasswordSyncState() const override; |
| 74 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; | 74 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
| 75 void LogSavePasswordProgress(const std::string& text) const override; | 75 void LogSavePasswordProgress(const std::string& text) const override; |
| 76 bool IsLoggingActive() const override; | 76 bool IsLoggingActive() const override; |
| 77 bool WasLastNavigationHTTPError() const override; | 77 bool WasLastNavigationHTTPError() const override; |
| 78 bool DidLastPageLoadEncounterSSLErrors() const override; | 78 bool DidLastPageLoadEncounterSSLErrors() const override; |
| 79 bool IsOffTheRecord() const override; | 79 bool IsOffTheRecord() const override; |
| 80 password_manager::PasswordManager* GetPasswordManager() override; | 80 password_manager::PasswordManager* GetPasswordManager() override; |
| 81 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; | 81 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; |
| 82 const GURL& GetMainFrameURL() const override; | 82 const GURL& GetMainFrameURL() const override; |
| 83 bool IsUpdatePasswordUIEnabled() const override; |
| 83 | 84 |
| 84 // Hides any visible generation UI. | 85 // Hides any visible generation UI. |
| 85 void HidePasswordGenerationPopup(); | 86 void HidePasswordGenerationPopup(); |
| 86 | 87 |
| 87 static void CreateForWebContentsWithAutofillClient( | 88 static void CreateForWebContentsWithAutofillClient( |
| 88 content::WebContents* contents, | 89 content::WebContents* contents, |
| 89 autofill::AutofillClient* autofill_client); | 90 autofill::AutofillClient* autofill_client); |
| 90 | 91 |
| 91 // Observer for PasswordGenerationPopup events. Used for testing. | 92 // Observer for PasswordGenerationPopup events. Used for testing. |
| 92 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); | 93 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool sync_credential_was_filtered_; | 176 bool sync_credential_was_filtered_; |
| 176 | 177 |
| 177 // Set to false to disable password saving (will no longer ask if you | 178 // Set to false to disable password saving (will no longer ask if you |
| 178 // want to save passwords but will continue to fill passwords). | 179 // want to save passwords but will continue to fill passwords). |
| 179 BooleanPrefMember saving_passwords_enabled_; | 180 BooleanPrefMember saving_passwords_enabled_; |
| 180 | 181 |
| 181 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 182 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 185 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |