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

Unified Diff: chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
diff --git a/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc b/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
index 8fee159ced1550a79319e97558d35ab7cd110f44..b4db1261e86baf5f209493412e926bd620d170a6 100644
--- a/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
+++ b/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc
@@ -90,7 +90,7 @@ class MediaTransferProtocolDeviceObserverLinuxTest
void MtpStorageAttached(const std::string& storage_name) {
MediaTransferProtocolDeviceObserverLinux::StorageChanged(true,
storage_name);
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
}
// Notifies MediaTransferProtocolDeviceObserverLinux about the detachment of
@@ -98,7 +98,7 @@ class MediaTransferProtocolDeviceObserverLinuxTest
void MtpStorageDetached(const std::string& storage_name) {
MediaTransferProtocolDeviceObserverLinux::StorageChanged(false,
storage_name);
- ui_loop_.RunAllPending();
+ ui_loop_.RunUntilIdle();
}
private:

Powered by Google App Engine
This is Rietveld 408576698