Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: chrome/test/base/testing_browser_process.h

Issue 16703025: [StorageMonitor] Move StorageMonitor ownership to BrowserProcessImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catch up to SystemInfoStorage eject test Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_browser_process.h
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h
index 983d76654124dc40723b304b12037059d2bae7a9..619ceb07a683ea6e088bfc3655827b26fa2283e7 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -105,6 +105,7 @@ class TestingBrowserProcess : public BrowserProcess {
virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE;
virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
+ virtual chrome::StorageMonitor* storage_monitor() OVERRIDE;
virtual chrome::MediaFileSystemRegistry*
media_file_system_registry() OVERRIDE;
virtual bool created_local_state() const OVERRIDE;
@@ -122,6 +123,7 @@ class TestingBrowserProcess : public BrowserProcess {
void SetSafeBrowsingService(SafeBrowsingService* sb_service);
void SetBookmarkPromptController(BookmarkPromptController* controller);
void SetSystemRequestContext(net::URLRequestContextGetter* context_getter);
+ void SetStorageMonitor(scoped_ptr<chrome::StorageMonitor> storage_monitor);
private:
scoped_ptr<content::NotificationService> notification_service_;
@@ -144,10 +146,12 @@ class TestingBrowserProcess : public BrowserProcess {
scoped_ptr<RenderWidgetSnapshotTaker> render_widget_snapshot_taker_;
scoped_refptr<SafeBrowsingService> sb_service_;
scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_;
-#if !defined(OS_ANDROID)
+#endif // !defined(OS_IOS)
+
+#if !defined(OS_IOS) && !defined(OS_ANDROID)
+ scoped_ptr<chrome::StorageMonitor> storage_monitor_;
scoped_ptr<chrome::MediaFileSystemRegistry> media_file_system_registry_;
#endif
-#endif // !defined(OS_IOS)
// The following objects are not owned by TestingBrowserProcess:
PrefService* local_state_;
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698