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

Unified Diff: device/media_transfer_protocol/media_transfer_protocol_manager.h

Issue 12092074: Remove 'content' dependency from device/media_transfer_protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 11 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: device/media_transfer_protocol/media_transfer_protocol_manager.h
diff --git a/device/media_transfer_protocol/media_transfer_protocol_manager.h b/device/media_transfer_protocol/media_transfer_protocol_manager.h
index 5c416b5f6689d1039f65463865c547fe3dc7f991..f8ac5024c7eb8a61a6082cb6a4af6fcca13c93a7 100644
--- a/device/media_transfer_protocol/media_transfer_protocol_manager.h
+++ b/device/media_transfer_protocol/media_transfer_protocol_manager.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/callback.h"
+#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#if !defined(OS_LINUX)
@@ -18,6 +19,10 @@
class MtpFileEntry;
class MtpStorageInfo;
+namespace base {
+class MessageLoopProxy;
+}
+
namespace device {
// This class handles the interaction with mtpd.
@@ -128,7 +133,7 @@ class MediaTransferProtocolManager {
const GetFileInfoCallback& callback) = 0;
// Creates the global MediaTransferProtocolManager instance.
- static void Initialize();
+ static void Initialize(scoped_refptr<base::MessageLoopProxy> loop_proxy);
Lei Zhang 2013/01/31 04:01:31 Document |loop_proxy|.
kmadhusu 2013/01/31 18:12:38 Done.
// Destroys the global MediaTransferProtocolManager instance if it exists.
static void Shutdown();

Powered by Google App Engine
This is Rietveld 408576698