| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_FORM_MANAGER_H__ | 5 #ifndef CHROME_BROWSER_PASSWORD_FORM_MANAGER_H__ |
| 6 #define CHROME_BROWSER_PASSWORD_FORM_MANAGER_H__ | 6 #define CHROME_BROWSER_PASSWORD_FORM_MANAGER_H__ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/stl_util-inl.h" | 9 |
| 10 #include "base/stl_util-inl.h" |
| 10 #include "chrome/browser/webdata/web_data_service.h" | 11 #include "chrome/browser/webdata/web_data_service.h" |
| 11 #include "webkit/glue/password_form.h" | 12 #include "webkit/glue/password_form.h" |
| 12 | 13 |
| 13 class PasswordManager; | 14 class PasswordManager; |
| 14 class Profile; | 15 class Profile; |
| 15 | 16 |
| 16 // Per-password-form-{on-page, dialog} class responsible for interactions | 17 // Per-password-form-{on-page, dialog} class responsible for interactions |
| 17 // between a given form, the per-tab PasswordManager, and the web database. | 18 // between a given form, the per-tab PasswordManager, and the web database. |
| 18 class PasswordFormManager : public WebDataServiceConsumer { | 19 class PasswordFormManager : public WebDataServiceConsumer { |
| 19 public: | 20 public: |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // assuming we've already processed the web data request for matching logins, | 162 // assuming we've already processed the web data request for matching logins, |
| 162 // when we actually haven't. | 163 // when we actually haven't. |
| 163 PasswordFormManagerState state_; | 164 PasswordFormManagerState state_; |
| 164 | 165 |
| 165 // The profile from which we get the WebDataService. | 166 // The profile from which we get the WebDataService. |
| 166 Profile* profile_; | 167 Profile* profile_; |
| 167 | 168 |
| 168 DISALLOW_EVIL_CONSTRUCTORS(PasswordFormManager); | 169 DISALLOW_EVIL_CONSTRUCTORS(PasswordFormManager); |
| 169 }; | 170 }; |
| 170 #endif // CHROME_BROWSER_PASSWORD_FORM_MANAGER_H__ | 171 #endif // CHROME_BROWSER_PASSWORD_FORM_MANAGER_H__ |
| OLD | NEW |