| 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/prefs/pref_service_mock_builder.h" | 5 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
| 6 | 6 |
| 7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
| 8 #include "base/prefs/default_pref_store.h" |
| 9 #include "base/prefs/json_pref_store.h" |
| 10 #include "base/prefs/testing_pref_store.h" |
| 8 #include "chrome/browser/policy/configuration_policy_pref_store.h" | 11 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| 9 #include "chrome/browser/prefs/command_line_pref_store.h" | 12 #include "chrome/browser/prefs/command_line_pref_store.h" |
| 10 #include "chrome/browser/prefs/default_pref_store.h" | |
| 11 #include "chrome/browser/prefs/pref_notifier_impl.h" | 13 #include "chrome/browser/prefs/pref_notifier_impl.h" |
| 14 #include "chrome/browser/prefs/pref_service.h" |
| 12 #include "chrome/browser/prefs/pref_value_store.h" | 15 #include "chrome/browser/prefs/pref_value_store.h" |
| 13 #include "chrome/browser/prefs/pref_service.h" | |
| 14 #include "chrome/browser/prefs/testing_pref_store.h" | |
| 15 #include "chrome/common/json_pref_store.h" | |
| 16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 | 17 |
| 18 using content::BrowserThread; | 18 using content::BrowserThread; |
| 19 | 19 |
| 20 PrefServiceMockBuilder::PrefServiceMockBuilder() | 20 PrefServiceMockBuilder::PrefServiceMockBuilder() |
| 21 : user_prefs_(new TestingPrefStore) { | 21 : user_prefs_(new TestingPrefStore) { |
| 22 } | 22 } |
| 23 | 23 |
| 24 PrefServiceMockBuilder::~PrefServiceMockBuilder() {} | 24 PrefServiceMockBuilder::~PrefServiceMockBuilder() {} |
| 25 | 25 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 NULL, | 110 NULL, |
| 111 false); | 111 false); |
| 112 managed_prefs_ = NULL; | 112 managed_prefs_ = NULL; |
| 113 extension_prefs_ = NULL; | 113 extension_prefs_ = NULL; |
| 114 command_line_prefs_ = NULL; | 114 command_line_prefs_ = NULL; |
| 115 user_prefs_ = NULL; | 115 user_prefs_ = NULL; |
| 116 recommended_prefs_ = NULL; | 116 recommended_prefs_ = NULL; |
| 117 user_prefs_ = new TestingPrefStore; | 117 user_prefs_ = new TestingPrefStore; |
| 118 return pref_service; | 118 return pref_service; |
| 119 } | 119 } |
| OLD | NEW |