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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 google_url_tracker_.reset(google_url_tracker); | 267 google_url_tracker_.reset(google_url_tracker); |
268 } | 268 } |
269 | 269 |
270 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { | 270 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { |
271 io_thread_ = io_thread; | 271 io_thread_ = io_thread; |
272 } | 272 } |
273 | 273 |
274 void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) { | 274 void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) { |
275 devtools_manager_.reset(manager); | 275 devtools_manager_.reset(manager); |
276 } | 276 } |
| 277 |
| 278 void TestingBrowserProcess::SetBrowserPolicyConnector( |
| 279 policy::BrowserPolicyConnector* connector) { |
| 280 browser_policy_connector_.reset(connector); |
| 281 } |
OLD | NEW |