| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 } | 49 } |
| 50 | 50 |
| 51 base::Thread* TestingBrowserProcess::db_thread() { | 51 base::Thread* TestingBrowserProcess::db_thread() { |
| 52 return NULL; | 52 return NULL; |
| 53 } | 53 } |
| 54 | 54 |
| 55 base::Thread* TestingBrowserProcess::cache_thread() { | 55 base::Thread* TestingBrowserProcess::cache_thread() { |
| 56 return NULL; | 56 return NULL; |
| 57 } | 57 } |
| 58 | 58 |
| 59 base::Thread* TestingBrowserProcess::appcache_thread() { |
| 60 return NULL; |
| 61 } |
| 62 |
| 59 WatchDogThread* TestingBrowserProcess::watchdog_thread() { | 63 WatchDogThread* TestingBrowserProcess::watchdog_thread() { |
| 60 return NULL; | 64 return NULL; |
| 61 } | 65 } |
| 62 | 66 |
| 63 #if defined(OS_CHROMEOS) | 67 #if defined(OS_CHROMEOS) |
| 64 base::Thread* TestingBrowserProcess::web_socket_proxy_thread() { | 68 base::Thread* TestingBrowserProcess::web_socket_proxy_thread() { |
| 65 return NULL; | 69 return NULL; |
| 66 } | 70 } |
| 67 #endif | 71 #endif |
| 68 | 72 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 google_url_tracker_.reset(google_url_tracker); | 276 google_url_tracker_.reset(google_url_tracker); |
| 273 } | 277 } |
| 274 | 278 |
| 275 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { | 279 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { |
| 276 io_thread_ = io_thread; | 280 io_thread_ = io_thread; |
| 277 } | 281 } |
| 278 | 282 |
| 279 void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) { | 283 void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) { |
| 280 devtools_manager_.reset(manager); | 284 devtools_manager_.reset(manager); |
| 281 } | 285 } |
| OLD | NEW |