| 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 "base/prefs/pref_service.h" |
| 10 #include "chrome/browser/password_manager/login_database.h" | 10 #include "chrome/browser/password_manager/login_database.h" |
| 11 #include "chrome/browser/password_manager/password_store.h" | 11 #include "chrome/browser/password_manager/password_store.h" |
| 12 #include "chrome/browser/password_manager/password_store_default.h" | 12 #include "chrome/browser/password_manager/password_store_default.h" |
| 13 #include "chrome/browser/prefs/pref_registry_syncable.h" | |
| 14 #include "chrome/browser/profiles/profile_dependency_manager.h" | 13 #include "chrome/browser/profiles/profile_dependency_manager.h" |
| 15 #include "chrome/browser/webdata/web_data_service.h" | 14 #include "chrome/browser/webdata/web_data_service.h" |
| 16 #include "chrome/browser/webdata/web_data_service_factory.h" | 15 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 17 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
| 18 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
| 19 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
| 19 #include "components/user_prefs/pref_registry_syncable.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) |
| 24 #include "chrome/browser/password_manager/password_store_mac.h" | 24 #include "chrome/browser/password_manager/password_store_mac.h" |
| 25 #include "crypto/apple_keychain.h" | 25 #include "crypto/apple_keychain.h" |
| 26 #include "crypto/mock_apple_keychain.h" | 26 #include "crypto/mock_apple_keychain.h" |
| 27 #elif defined(OS_CHROMEOS) || defined(OS_ANDROID) | 27 #elif defined(OS_CHROMEOS) || defined(OS_ANDROID) |
| 28 // Don't do anything. We're going to use the default store. | 28 // Don't do anything. We're going to use the default store. |
| 29 #elif defined(OS_POSIX) | 29 #elif defined(OS_POSIX) |
| (...skipping 176 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 |