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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 PrefService* GetPrefs() override; | 58 PrefService* GetPrefs() override; |
59 password_manager::PasswordStore* GetPasswordStore() override; | 59 password_manager::PasswordStore* GetPasswordStore() override; |
60 password_manager::PasswordManagerDriver* GetDriver() override; | 60 password_manager::PasswordManagerDriver* GetDriver() override; |
61 base::FieldTrial::Probability GetProbabilityForExperiment( | 61 base::FieldTrial::Probability GetProbabilityForExperiment( |
62 const std::string& experiment_name) override; | 62 const std::string& experiment_name) override; |
63 bool IsPasswordSyncEnabled( | 63 bool IsPasswordSyncEnabled( |
64 password_manager::CustomPassphraseState state) override; | 64 password_manager::CustomPassphraseState state) override; |
65 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; | 65 void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
66 void LogSavePasswordProgress(const std::string& text) override; | 66 void LogSavePasswordProgress(const std::string& text) override; |
67 bool IsLoggingActive() const override; | 67 bool IsLoggingActive() const override; |
| 68 bool WasLastNavigationHTTPError() const override; |
68 | 69 |
69 // Hides any visible generation UI. | 70 // Hides any visible generation UI. |
70 void HidePasswordGenerationPopup(); | 71 void HidePasswordGenerationPopup(); |
71 | 72 |
72 static void CreateForWebContentsWithAutofillClient( | 73 static void CreateForWebContentsWithAutofillClient( |
73 content::WebContents* contents, | 74 content::WebContents* contents, |
74 autofill::AutofillClient* autofill_client); | 75 autofill::AutofillClient* autofill_client); |
75 | 76 |
76 // Convenience method to allow //chrome code easy access to a PasswordManager | 77 // Convenience method to allow //chrome code easy access to a PasswordManager |
77 // from a WebContents instance. | 78 // from a WebContents instance. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 AutofillForSyncCredentialsState autofill_sync_state_; | 162 AutofillForSyncCredentialsState autofill_sync_state_; |
162 | 163 |
163 // If the sync credential was filtered during autofill. Used for statistics | 164 // If the sync credential was filtered during autofill. Used for statistics |
164 // reporting. | 165 // reporting. |
165 bool sync_credential_was_filtered_; | 166 bool sync_credential_was_filtered_; |
166 | 167 |
167 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 168 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
168 }; | 169 }; |
169 | 170 |
170 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 171 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |