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" | |
12 #include "chrome/browser/password_manager/password_form_manager.h" | 11 #include "chrome/browser/password_manager/password_form_manager.h" |
13 #include "chrome/browser/prefs/pref_member.h" | 12 #include "chrome/browser/prefs/pref_member.h" |
14 #include "chrome/browser/tab_contents/web_navigation_observer.h" | 13 #include "chrome/browser/tab_contents/web_navigation_observer.h" |
| 14 #include "chrome/browser/ui/login/login_model.h" |
15 #include "webkit/glue/password_form.h" | 15 #include "webkit/glue/password_form.h" |
16 #include "webkit/glue/password_form_dom_manager.h" | 16 #include "webkit/glue/password_form_dom_manager.h" |
17 | 17 |
18 class PasswordManagerDelegate; | 18 class PasswordManagerDelegate; |
19 class PasswordManagerTest; | 19 class PasswordManagerTest; |
20 class PasswordFormManager; | 20 class PasswordFormManager; |
21 class PrefService; | 21 class PrefService; |
22 | 22 |
23 // Per-tab password manager. Handles creation and management of UI elements, | 23 // Per-tab password manager. Handles creation and management of UI elements, |
24 // receiving password form data from the renderer and managing the password | 24 // receiving password form data from the renderer and managing the password |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 LoginModelObserver* observer_; | 106 LoginModelObserver* observer_; |
107 | 107 |
108 // Set to false to disable the password manager (will no longer fill | 108 // Set to false to disable the password manager (will no longer fill |
109 // passwords or ask you if you want to save passwords). | 109 // passwords or ask you if you want to save passwords). |
110 BooleanPrefMember password_manager_enabled_; | 110 BooleanPrefMember password_manager_enabled_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(PasswordManager); | 112 DISALLOW_COPY_AND_ASSIGN(PasswordManager); |
113 }; | 113 }; |
114 | 114 |
115 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ | 115 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
OLD | NEW |