| 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/stl_util.h" | 12 #include "base/stl_util.h" |
| 13 #include "chrome/browser/api/prefs/pref_member.h" |
| 13 #include "chrome/browser/password_manager/password_form_manager.h" | 14 #include "chrome/browser/password_manager/password_form_manager.h" |
| 14 #include "chrome/browser/prefs/pref_member.h" | |
| 15 #include "chrome/browser/ui/login/login_model.h" | 15 #include "chrome/browser/ui/login/login_model.h" |
| 16 #include "content/public/browser/web_contents_observer.h" | 16 #include "content/public/browser/web_contents_observer.h" |
| 17 #include "webkit/forms/password_form.h" | 17 #include "webkit/forms/password_form.h" |
| 18 #include "webkit/forms/password_form_dom_manager.h" | 18 #include "webkit/forms/password_form_dom_manager.h" |
| 19 | 19 |
| 20 class PasswordManagerDelegate; | 20 class PasswordManagerDelegate; |
| 21 class PasswordManagerTest; | 21 class PasswordManagerTest; |
| 22 class PasswordFormManager; | 22 class PasswordFormManager; |
| 23 class PrefService; | 23 class PrefService; |
| 24 | 24 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 LoginModelObserver* observer_; | 111 LoginModelObserver* observer_; |
| 112 | 112 |
| 113 // Set to false to disable the password manager (will no longer fill | 113 // Set to false to disable the password manager (will no longer fill |
| 114 // passwords or ask you if you want to save passwords). | 114 // passwords or ask you if you want to save passwords). |
| 115 BooleanPrefMember password_manager_enabled_; | 115 BooleanPrefMember password_manager_enabled_; |
| 116 | 116 |
| 117 DISALLOW_COPY_AND_ASSIGN(PasswordManager); | 117 DISALLOW_COPY_AND_ASSIGN(PasswordManager); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ | 120 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_H_ |
| OLD | NEW |