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 "components/password_manager/content/browser/content_credential_manager
_dispatcher.h" | 10 #include "components/password_manager/content/browser/content_credential_manager
_dispatcher.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 bool IsPasswordSyncEnabled( | 70 bool IsPasswordSyncEnabled( |
71 password_manager::CustomPassphraseState state) override; | 71 password_manager::CustomPassphraseState state) override; |
72 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; | 72 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
73 void LogSavePasswordProgress(const std::string& text) const override; | 73 void LogSavePasswordProgress(const std::string& text) const override; |
74 bool IsLoggingActive() const override; | 74 bool IsLoggingActive() const override; |
75 bool WasLastNavigationHTTPError() const override; | 75 bool WasLastNavigationHTTPError() const override; |
76 bool DidLastPageLoadEncounterSSLErrors() override; | 76 bool DidLastPageLoadEncounterSSLErrors() override; |
77 bool IsOffTheRecord() override; | 77 bool IsOffTheRecord() override; |
78 password_manager::PasswordManager* GetPasswordManager() override; | 78 password_manager::PasswordManager* GetPasswordManager() override; |
79 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; | 79 autofill::AutofillManager* GetAutofillManagerForMainFrame() override; |
| 80 const GURL& GetMainFrameURL() override; |
80 | 81 |
81 // Hides any visible generation UI. | 82 // Hides any visible generation UI. |
82 void HidePasswordGenerationPopup(); | 83 void HidePasswordGenerationPopup(); |
83 | 84 |
84 static void CreateForWebContentsWithAutofillClient( | 85 static void CreateForWebContentsWithAutofillClient( |
85 content::WebContents* contents, | 86 content::WebContents* contents, |
86 autofill::AutofillClient* autofill_client); | 87 autofill::AutofillClient* autofill_client); |
87 | 88 |
88 // Observer for PasswordGenerationPopup events. Used for testing. | 89 // Observer for PasswordGenerationPopup events. Used for testing. |
89 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); | 90 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 AutofillForSyncCredentialsState autofill_sync_state_; | 169 AutofillForSyncCredentialsState autofill_sync_state_; |
169 | 170 |
170 // If the sync credential was filtered during autofill. Used for statistics | 171 // If the sync credential was filtered during autofill. Used for statistics |
171 // reporting. | 172 // reporting. |
172 bool sync_credential_was_filtered_; | 173 bool sync_credential_was_filtered_; |
173 | 174 |
174 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 175 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
175 }; | 176 }; |
176 | 177 |
177 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 178 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |