| 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 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 MetricsService* TestingBrowserProcess::metrics_service() { | 38 MetricsService* TestingBrowserProcess::metrics_service() { |
| 39 return NULL; | 39 return NULL; |
| 40 } | 40 } |
| 41 | 41 |
| 42 IOThread* TestingBrowserProcess::io_thread() { | 42 IOThread* TestingBrowserProcess::io_thread() { |
| 43 return io_thread_; | 43 return io_thread_; |
| 44 } | 44 } |
| 45 | 45 |
| 46 base::Thread* TestingBrowserProcess::file_user_blocking_thread() { |
| 47 return NULL; |
| 48 } |
| 49 |
| 46 base::Thread* TestingBrowserProcess::file_thread() { | 50 base::Thread* TestingBrowserProcess::file_thread() { |
| 47 return NULL; | 51 return NULL; |
| 48 } | 52 } |
| 49 | 53 |
| 50 base::Thread* TestingBrowserProcess::db_thread() { | 54 base::Thread* TestingBrowserProcess::db_thread() { |
| 51 return NULL; | 55 return NULL; |
| 52 } | 56 } |
| 53 | 57 |
| 54 base::Thread* TestingBrowserProcess::cache_thread() { | 58 base::Thread* TestingBrowserProcess::cache_thread() { |
| 55 return NULL; | 59 return NULL; |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 } | 264 } |
| 261 | 265 |
| 262 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { | 266 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { |
| 263 io_thread_ = io_thread; | 267 io_thread_ = io_thread; |
| 264 } | 268 } |
| 265 | 269 |
| 266 void TestingBrowserProcess::SetBrowserPolicyConnector( | 270 void TestingBrowserProcess::SetBrowserPolicyConnector( |
| 267 policy::BrowserPolicyConnector* connector) { | 271 policy::BrowserPolicyConnector* connector) { |
| 268 browser_policy_connector_.reset(connector); | 272 browser_policy_connector_.reset(connector); |
| 269 } | 273 } |
| OLD | NEW |