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_password_manager_d
river.h" | 10 #include "components/password_manager/content/browser/content_password_manager_d
river.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 const gfx::RectF& bounds, const autofill::PasswordForm& form); | 131 const gfx::RectF& bounds, const autofill::PasswordForm& form); |
132 | 132 |
133 // Sends a message to the renderer with the current value of | 133 // Sends a message to the renderer with the current value of |
134 // |can_use_log_router_|. | 134 // |can_use_log_router_|. |
135 void NotifyRendererOfLoggingAvailability(); | 135 void NotifyRendererOfLoggingAvailability(); |
136 | 136 |
137 // Returns true if the last loaded page was for transactional re-auth on a | 137 // Returns true if the last loaded page was for transactional re-auth on a |
138 // Google property. | 138 // Google property. |
139 bool LastLoadWasTransactionalReauthPage() const; | 139 bool LastLoadWasTransactionalReauthPage() const; |
140 | 140 |
| 141 // Returns true if |url| is the reauth page for accessing the password |
| 142 // website. |
| 143 bool IsURLPasswordWebsiteReauth(const GURL& url) const; |
| 144 |
141 // Sets |autofill_state_| based on experiment and flag values. | 145 // Sets |autofill_state_| based on experiment and flag values. |
142 void SetUpAutofillSyncState(); | 146 void SetUpAutofillSyncState(); |
143 | 147 |
144 Profile* const profile_; | 148 Profile* const profile_; |
145 | 149 |
146 password_manager::ContentPasswordManagerDriver driver_; | 150 password_manager::ContentPasswordManagerDriver driver_; |
147 | 151 |
148 // Observer for password generation popup. | 152 // Observer for password generation popup. |
149 autofill::PasswordGenerationPopupObserver* observer_; | 153 autofill::PasswordGenerationPopupObserver* observer_; |
150 | 154 |
(...skipping 11 matching lines...) Expand all Loading... |
162 AutofillForSyncCredentialsState autofill_sync_state_; | 166 AutofillForSyncCredentialsState autofill_sync_state_; |
163 | 167 |
164 // If the sync credential was filtered during autofill. Used for statistics | 168 // If the sync credential was filtered during autofill. Used for statistics |
165 // reporting. | 169 // reporting. |
166 bool sync_credential_was_filtered_; | 170 bool sync_credential_was_filtered_; |
167 | 171 |
168 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 172 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
169 }; | 173 }; |
170 | 174 |
171 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 175 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |