OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 10 matching lines...) Expand all Loading... | |
21 class PasswordManagerClient; | 21 class PasswordManagerClient; |
22 class PasswordManagerDriver; | 22 class PasswordManagerDriver; |
23 class PasswordManagerTest; | 23 class PasswordManagerTest; |
24 class PasswordFormManager; | 24 class PasswordFormManager; |
25 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 class WebContents; | 28 class WebContents; |
29 } | 29 } |
30 | 30 |
31 namespace gfx { | |
Garrett Casto
2014/03/14 23:24:22
Unneeded.
Patrick Dubroy
2014/03/28 15:44:22
Done.
| |
32 class RectF; | |
33 } | |
34 | |
31 namespace user_prefs { | 35 namespace user_prefs { |
32 class PrefRegistrySyncable; | 36 class PrefRegistrySyncable; |
33 } | 37 } |
34 | 38 |
35 // Per-tab password manager. Handles creation and management of UI elements, | 39 // Per-tab password manager. Handles creation and management of UI elements, |
36 // receiving password form data from the renderer and managing the password | 40 // receiving password form data from the renderer and managing the password |
37 // database through the PasswordStore. The PasswordManager is a LoginModel | 41 // database through the PasswordStore. The PasswordManager is a LoginModel |
38 // for purposes of supporting HTTP authentication dialogs. | 42 // for purposes of supporting HTTP authentication dialogs. |
39 class PasswordManager : public LoginModel { | 43 class PasswordManager : public LoginModel { |
40 public: | 44 public: |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
170 // notification in const member functions. | 174 // notification in const member functions. |
171 mutable ObserverList<LoginModelObserver> observers_; | 175 mutable ObserverList<LoginModelObserver> observers_; |
172 | 176 |
173 // Callbacks to be notified when a password form has been submitted. | 177 // Callbacks to be notified when a password form has been submitted. |
174 std::vector<PasswordSubmittedCallback> submission_callbacks_; | 178 std::vector<PasswordSubmittedCallback> submission_callbacks_; |
175 | 179 |
176 DISALLOW_COPY_AND_ASSIGN(PasswordManager); | 180 DISALLOW_COPY_AND_ASSIGN(PasswordManager); |
177 }; | 181 }; |
178 | 182 |
179 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ | 183 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ |
OLD | NEW |