| 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 } | 298 } |
| 299 | 299 |
| 300 ComponentUpdateService* TestingBrowserProcess::component_updater() { | 300 ComponentUpdateService* TestingBrowserProcess::component_updater() { |
| 301 return NULL; | 301 return NULL; |
| 302 } | 302 } |
| 303 | 303 |
| 304 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { | 304 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { |
| 305 return NULL; | 305 return NULL; |
| 306 } | 306 } |
| 307 | 307 |
| 308 PnaclComponentInstaller* TestingBrowserProcess::pnacl_component_installer() { |
| 309 return NULL; |
| 310 } |
| 311 |
| 308 BookmarkPromptController* TestingBrowserProcess::bookmark_prompt_controller() { | 312 BookmarkPromptController* TestingBrowserProcess::bookmark_prompt_controller() { |
| 309 #if defined(OS_IOS) | 313 #if defined(OS_IOS) |
| 310 NOTIMPLEMENTED(); | 314 NOTIMPLEMENTED(); |
| 311 return NULL; | 315 return NULL; |
| 312 #else | 316 #else |
| 313 return bookmark_prompt_controller_.get(); | 317 return bookmark_prompt_controller_.get(); |
| 314 #endif | 318 #endif |
| 315 } | 319 } |
| 316 | 320 |
| 317 chrome::MediaFileSystemRegistry* | 321 chrome::MediaFileSystemRegistry* |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 #endif | 394 #endif |
| 391 } | 395 } |
| 392 | 396 |
| 393 void TestingBrowserProcess::SetSafeBrowsingService( | 397 void TestingBrowserProcess::SetSafeBrowsingService( |
| 394 SafeBrowsingService* sb_service) { | 398 SafeBrowsingService* sb_service) { |
| 395 #if !defined(OS_IOS) | 399 #if !defined(OS_IOS) |
| 396 NOTIMPLEMENTED(); | 400 NOTIMPLEMENTED(); |
| 397 sb_service_ = sb_service; | 401 sb_service_ = sb_service; |
| 398 #endif | 402 #endif |
| 399 } | 403 } |
| OLD | NEW |