#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)
: 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),
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;
}
#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();
#endif
}
-void TestingBrowserProcess::SetStorageMonitor(
- scoped_ptr<StorageMonitor> storage_monitor) {
-#if !defined(OS_IOS) && !defined(OS_ANDROID)
- storage_monitor_ = storage_monitor.Pass();
-#endif
-}
-
///////////////////////////////////////////////////////////////////////////////
TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {