OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PASSWORD_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
11 #include "chrome/browser/login_model.h" | 11 #include "chrome/browser/login_model.h" |
12 #include "chrome/browser/password_manager/password_form_manager.h" | 12 #include "chrome/browser/password_manager/password_form_manager.h" |
13 #include "chrome/browser/pref_member.h" | 13 #include "chrome/browser/prefs/pref_member.h" |
14 #include "webkit/glue/password_form.h" | 14 #include "webkit/glue/password_form.h" |
15 #include "webkit/glue/password_form_dom_manager.h" | 15 #include "webkit/glue/password_form_dom_manager.h" |
16 | 16 |
17 class PasswordManagerDelegate; | 17 class PasswordManagerDelegate; |
18 class PasswordFormManager; | 18 class PasswordFormManager; |
19 class PrefService; | 19 class PrefService; |
20 | 20 |
21 // Per-tab password manager. Handles creation and management of UI elements, | 21 // Per-tab password manager. Handles creation and management of UI elements, |
22 // receiving password form data from the renderer and managing the password | 22 // receiving password form data from the renderer and managing the password |
23 // database through the WebDataService. The PasswordManager is a LoginModel | 23 // database through the WebDataService. The PasswordManager is a LoginModel |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 LoginModelObserver* observer_; | 103 LoginModelObserver* observer_; |
104 | 104 |
105 // Set to false to disable the password manager (will no longer fill | 105 // Set to false to disable the password manager (will no longer fill |
106 // passwords or ask you if you want to save passwords). | 106 // passwords or ask you if you want to save passwords). |
107 BooleanPrefMember password_manager_enabled_; | 107 BooleanPrefMember password_manager_enabled_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(PasswordManager); | 109 DISALLOW_COPY_AND_ASSIGN(PasswordManager); |
110 }; | 110 }; |
111 | 111 |
112 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ | 112 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
OLD | NEW |