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

Unified Diff: device/media_transfer_protocol/media_transfer_protocol_manager.cc

Issue 12082017: Remove dependencies to 'chrome' from device/media_transfer_protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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.cc
diff --git a/device/media_transfer_protocol/media_transfer_protocol_manager.cc b/device/media_transfer_protocol/media_transfer_protocol_manager.cc
index dba7d184328447b77256732ae8add753de3a4e92..6b87b2eab4ef86849eda1331aaa7220e0eeb4985 100644
--- a/device/media_transfer_protocol/media_transfer_protocol_manager.cc
+++ b/device/media_transfer_protocol/media_transfer_protocol_manager.cc
@@ -14,7 +14,6 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/stl_util.h"
-#include "chrome/common/chrome_switches.h"
#include "content/public/browser/browser_thread.h"
#include "device/media_transfer_protocol/media_transfer_protocol_daemon_client.h"
#include "device/media_transfer_protocol/mtp_file_entry.pb.h"
@@ -38,9 +37,6 @@ MediaTransferProtocolManager* g_media_transfer_protocol_manager = NULL;
class MediaTransferProtocolManagerImpl : public MediaTransferProtocolManager {
public:
MediaTransferProtocolManagerImpl() : weak_ptr_factory_(this) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType))
- return;
-
dbus::Bus* bus = NULL;
#if defined(OS_CHROMEOS)
chromeos::DBusThreadManager* dbus_thread_manager =
« chrome/browser/chrome_browser_main_linux.cc ('K') | « device/media_transfer_protocol/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698