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

Unified Diff: chrome/browser/storage_monitor/test_storage_monitor.h

Issue 14016002: Storage Monitor: Make StorageMonitorLinux own the MediaTransferProtocolManager. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browser_tests Created 7 years, 8 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
Index: chrome/browser/storage_monitor/test_storage_monitor.h
===================================================================
--- chrome/browser/storage_monitor/test_storage_monitor.h (revision 194743)
+++ chrome/browser/storage_monitor/test_storage_monitor.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_
#define CHROME_BROWSER_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_
+#include <string>
+
#include "chrome/browser/storage_monitor/storage_monitor.h"
namespace chrome {
@@ -30,6 +32,11 @@
string16* storage_object_id) const OVERRIDE;
#endif
+#if defined(OS_LINUX)
+ virtual device::MediaTransferProtocolManager*
+ media_transfer_protocol_manager() OVERRIDE;
+#endif
+
virtual Receiver* receiver() const OVERRIDE;
virtual void EjectDevice(
@@ -41,6 +48,11 @@
private:
std::string ejected_device_;
+
+#if defined(OS_LINUX)
+ scoped_ptr<device::MediaTransferProtocolManager>
+ media_transfer_protocol_manager_;
+#endif
};
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698