| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { | 211 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { |
| 212 return NULL; | 212 return NULL; |
| 213 } | 213 } |
| 214 | 214 |
| 215 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() { | 215 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() { |
| 216 return NULL; | 216 return NULL; |
| 217 } | 217 } |
| 218 | 218 |
| 219 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( | 219 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( |
| 220 Profile* profile, | 220 Profile* profile, |
| 221 chrome::HostDesktopType host_desktop_type, |
| 221 const std::string& ip, | 222 const std::string& ip, |
| 222 int port, | 223 int port, |
| 223 const std::string& frontend_url) { | 224 const std::string& frontend_url) { |
| 224 } | 225 } |
| 225 | 226 |
| 226 unsigned int TestingBrowserProcess::AddRefModule() { | 227 unsigned int TestingBrowserProcess::AddRefModule() { |
| 227 return ++module_ref_count_; | 228 return ++module_ref_count_; |
| 228 } | 229 } |
| 229 | 230 |
| 230 unsigned int TestingBrowserProcess::ReleaseModule() { | 231 unsigned int TestingBrowserProcess::ReleaseModule() { |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 #endif | 381 #endif |
| 381 } | 382 } |
| 382 | 383 |
| 383 void TestingBrowserProcess::SetSafeBrowsingService( | 384 void TestingBrowserProcess::SetSafeBrowsingService( |
| 384 SafeBrowsingService* sb_service) { | 385 SafeBrowsingService* sb_service) { |
| 385 #if !defined(OS_IOS) | 386 #if !defined(OS_IOS) |
| 386 NOTIMPLEMENTED(); | 387 NOTIMPLEMENTED(); |
| 387 sb_service_ = sb_service; | 388 sb_service_ = sb_service; |
| 388 #endif | 389 #endif |
| 389 } | 390 } |
| OLD | NEW |