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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc

Issue 12912013: Storage Monitor Linux: Do not try to initialize MediaTransferProtocolManager during unit tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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/storage_monitor_linux_unittest.cc
===================================================================
--- chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc (revision 190492)
+++ chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc (working copy)
@@ -164,6 +164,10 @@
message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
+ virtual bool IsRunningTest() const OVERRIDE {
+ return true;
+ }
+
MessageLoop* message_loop_;
DISALLOW_COPY_AND_ASSIGN(TestStorageMonitorLinux);

Powered by Google App Engine
This is Rietveld 408576698