OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/test/base/testing_browser_process.h" | 5 #include "chrome/test/base/testing_browser_process.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "chrome/browser/google/google_url_tracker.h" | 8 #include "chrome/browser/google/google_url_tracker.h" |
9 #include "chrome/browser/notifications/notification_ui_manager.h" | 9 #include "chrome/browser/notifications/notification_ui_manager.h" |
10 #include "chrome/browser/policy/browser_policy_connector.h" | 10 #include "chrome/browser/policy/browser_policy_connector.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 | 45 |
46 base::Thread* TestingBrowserProcess::file_thread() { | 46 base::Thread* TestingBrowserProcess::file_thread() { |
47 return NULL; | 47 return NULL; |
48 } | 48 } |
49 | 49 |
50 base::Thread* TestingBrowserProcess::db_thread() { | 50 base::Thread* TestingBrowserProcess::db_thread() { |
51 return NULL; | 51 return NULL; |
52 } | 52 } |
53 | 53 |
54 base::Thread* TestingBrowserProcess::cache_thread() { | |
55 return NULL; | |
56 } | |
57 | |
58 WatchDogThread* TestingBrowserProcess::watchdog_thread() { | 54 WatchDogThread* TestingBrowserProcess::watchdog_thread() { |
59 return NULL; | 55 return NULL; |
60 } | 56 } |
61 | 57 |
62 #if defined(OS_CHROMEOS) | 58 #if defined(OS_CHROMEOS) |
63 base::Thread* TestingBrowserProcess::web_socket_proxy_thread() { | 59 base::Thread* TestingBrowserProcess::web_socket_proxy_thread() { |
64 return NULL; | 60 return NULL; |
65 } | 61 } |
66 #endif | 62 #endif |
67 | 63 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 } | 256 } |
261 | 257 |
262 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { | 258 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { |
263 io_thread_ = io_thread; | 259 io_thread_ = io_thread; |
264 } | 260 } |
265 | 261 |
266 void TestingBrowserProcess::SetBrowserPolicyConnector( | 262 void TestingBrowserProcess::SetBrowserPolicyConnector( |
267 policy::BrowserPolicyConnector* connector) { | 263 policy::BrowserPolicyConnector* connector) { |
268 browser_policy_connector_.reset(connector); | 264 browser_policy_connector_.reset(connector); |
269 } | 265 } |
OLD | NEW |