Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / test / base / testing_browser_process.cc
index 20a42a0..2e56dd3 100644 (file)
 #include "chrome/browser/notifications/notification_ui_manager.h"
 #include "chrome/browser/prerender/prerender_tracker.h"
 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
-#include "chrome/browser/thumbnails/render_widget_snapshot_taker.h"
 #endif
 
 #if !defined(OS_IOS) && !defined(OS_ANDROID)
 #include "chrome/browser/media_galleries/media_file_system_registry.h"
-#include "chrome/browser/storage_monitor/storage_monitor.h"
-#include "chrome/browser/storage_monitor/test_storage_monitor.h"
+#include "components/storage_monitor/storage_monitor.h"
+#include "components/storage_monitor/test_storage_monitor.h"
 #endif
 
 #if defined(ENABLE_CONFIGURATION_POLICY)
@@ -67,9 +66,6 @@ TestingBrowserProcess::TestingBrowserProcess()
     : notification_service_(content::NotificationService::Create()),
       module_ref_count_(0),
       app_locale_("en"),
-#if !defined(OS_IOS)
-      render_widget_snapshot_taker_(new RenderWidgetSnapshotTaker),
-#endif
       local_state_(NULL),
       io_thread_(NULL),
       system_request_context_(NULL),
@@ -176,16 +172,6 @@ GpuModeManager* TestingBrowserProcess::gpu_mode_manager() {
   return NULL;
 }
 
-RenderWidgetSnapshotTaker*
-TestingBrowserProcess::GetRenderWidgetSnapshotTaker() {
-#if defined(OS_IOS)
-  NOTREACHED();
-  return NULL;
-#else
-  return render_widget_snapshot_taker_.get();
-#endif
-}
-
 BackgroundModeManager* TestingBrowserProcess::background_mode_manager() {
   return NULL;
 }
@@ -363,15 +349,6 @@ BookmarkPromptController* TestingBrowserProcess::bookmark_prompt_controller() {
 #endif
 }
 
-StorageMonitor* TestingBrowserProcess::storage_monitor() {
-#if defined(OS_IOS) || defined(OS_ANDROID)
-  NOTIMPLEMENTED();
-  return NULL;
-#else
-  return storage_monitor_.get();
-#endif
-}
-
 MediaFileSystemRegistry* TestingBrowserProcess::media_file_system_registry() {
 #if defined(OS_IOS) || defined(OS_ANDROID)
   NOTIMPLEMENTED();
@@ -450,13 +427,6 @@ void TestingBrowserProcess::SetSafeBrowsingService(
 #endif
 }
 
-void TestingBrowserProcess::SetStorageMonitor(
-    scoped_ptr<StorageMonitor> storage_monitor) {
-#if !defined(OS_IOS) && !defined(OS_ANDROID)
-  storage_monitor_ = storage_monitor.Pass();
-#endif
-}
-
 ///////////////////////////////////////////////////////////////////////////////
 
 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {