| 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 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 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
| 14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 15 #include "chrome/browser/password_manager/password_form_manager.h" | 15 #include "chrome/browser/password_manager/password_form_manager.h" |
| 16 #include "chrome/browser/ui/login/login_model.h" | 16 #include "chrome/browser/ui/login/login_model.h" |
| 17 #include "components/autofill/common/password_form_fill_data.h" | 17 #include "components/autofill/core/common/password_form_fill_data.h" |
| 18 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
| 19 #include "content/public/browser/web_contents_user_data.h" | 19 #include "content/public/browser/web_contents_user_data.h" |
| 20 #include "content/public/common/password_form.h" | 20 #include "content/public/common/password_form.h" |
| 21 | 21 |
| 22 class PasswordManagerDelegate; | 22 class PasswordManagerDelegate; |
| 23 class PasswordManagerTest; | 23 class PasswordManagerTest; |
| 24 class PasswordFormManager; | 24 class PasswordFormManager; |
| 25 | 25 |
| 26 namespace user_prefs { | 26 namespace user_prefs { |
| 27 class PrefRegistrySyncable; | 27 class PrefRegistrySyncable; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 BooleanPrefMember password_manager_enabled_; | 138 BooleanPrefMember password_manager_enabled_; |
| 139 | 139 |
| 140 // Observers to be notified of LoginModel events. This is mutable to allow | 140 // Observers to be notified of LoginModel events. This is mutable to allow |
| 141 // notification in const member functions. | 141 // notification in const member functions. |
| 142 mutable ObserverList<LoginModelObserver> observers_; | 142 mutable ObserverList<LoginModelObserver> observers_; |
| 143 | 143 |
| 144 DISALLOW_COPY_AND_ASSIGN(PasswordManager); | 144 DISALLOW_COPY_AND_ASSIGN(PasswordManager); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ | 147 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
| OLD | NEW |