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 #include "chrome/browser/password_manager/password_store_factory.h" | 5 #include "chrome/browser/password_manager/password_store_factory.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/environment.h" | 8 #include "base/environment.h" |
| 9 #include "base/prefs/pref_service.h" |
9 #include "chrome/browser/password_manager/login_database.h" | 10 #include "chrome/browser/password_manager/login_database.h" |
10 #include "chrome/browser/password_manager/password_store.h" | 11 #include "chrome/browser/password_manager/password_store.h" |
11 #include "chrome/browser/password_manager/password_store_default.h" | 12 #include "chrome/browser/password_manager/password_store_default.h" |
12 #include "chrome/browser/prefs/pref_registry_syncable.h" | 13 #include "chrome/browser/prefs/pref_registry_syncable.h" |
13 #include "chrome/browser/prefs/pref_service.h" | |
14 #include "chrome/browser/profiles/profile_dependency_manager.h" | 14 #include "chrome/browser/profiles/profile_dependency_manager.h" |
15 #include "chrome/browser/webdata/web_data_service.h" | 15 #include "chrome/browser/webdata/web_data_service.h" |
16 #include "chrome/browser/webdata/web_data_service_factory.h" | 16 #include "chrome/browser/webdata/web_data_service_factory.h" |
17 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
20 | 20 |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 #include "chrome/browser/password_manager/password_store_win.h" | 22 #include "chrome/browser/password_manager/password_store_win.h" |
23 #elif defined(OS_MACOSX) | 23 #elif defined(OS_MACOSX) |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 #endif | 206 #endif |
207 } | 207 } |
208 | 208 |
209 bool PasswordStoreFactory::ServiceRedirectedInIncognito() const { | 209 bool PasswordStoreFactory::ServiceRedirectedInIncognito() const { |
210 return true; | 210 return true; |
211 } | 211 } |
212 | 212 |
213 bool PasswordStoreFactory::ServiceIsNULLWhileTesting() const { | 213 bool PasswordStoreFactory::ServiceIsNULLWhileTesting() const { |
214 return true; | 214 return true; |
215 } | 215 } |
OLD | NEW |