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/test/base/testing_browser_process.h" | 5 #include "chrome/test/base/testing_browser_process.h" |
6 | 6 |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { | 199 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { |
200 return NULL; | 200 return NULL; |
201 } | 201 } |
202 | 202 |
203 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() { | 203 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() { |
204 return NULL; | 204 return NULL; |
205 } | 205 } |
206 | 206 |
207 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( | 207 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( |
208 Profile* profile, | |
209 chrome::HostDesktopType host_desktop_type, | 208 chrome::HostDesktopType host_desktop_type, |
210 const std::string& ip, | 209 const std::string& ip, |
211 int port, | 210 int port, |
212 const std::string& frontend_url) { | 211 const std::string& frontend_url) { |
213 } | 212 } |
214 | 213 |
215 unsigned int TestingBrowserProcess::AddRefModule() { | 214 unsigned int TestingBrowserProcess::AddRefModule() { |
216 return ++module_ref_count_; | 215 return ++module_ref_count_; |
217 } | 216 } |
218 | 217 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 #endif | 373 #endif |
375 } | 374 } |
376 | 375 |
377 void TestingBrowserProcess::SetSafeBrowsingService( | 376 void TestingBrowserProcess::SetSafeBrowsingService( |
378 SafeBrowsingService* sb_service) { | 377 SafeBrowsingService* sb_service) { |
379 #if !defined(OS_IOS) | 378 #if !defined(OS_IOS) |
380 NOTIMPLEMENTED(); | 379 NOTIMPLEMENTED(); |
381 sb_service_ = sb_service; | 380 sb_service_ = sb_service; |
382 #endif | 381 #endif |
383 } | 382 } |
OLD | NEW |