| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 #endif | 390 #endif |
| 387 } | 391 } |
| 388 | 392 |
| 389 void TestingBrowserProcess::SetSafeBrowsingService( | 393 void TestingBrowserProcess::SetSafeBrowsingService( |
| 390 SafeBrowsingService* sb_service) { | 394 SafeBrowsingService* sb_service) { |
| 391 #if !defined(OS_IOS) | 395 #if !defined(OS_IOS) |
| 392 NOTIMPLEMENTED(); | 396 NOTIMPLEMENTED(); |
| 393 sb_service_ = sb_service; | 397 sb_service_ = sb_service; |
| 394 #endif | 398 #endif |
| 395 } | 399 } |
| OLD | NEW |