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

Unified Diff: chrome/browser/download/download_test_file_activity_observer.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/download/download_test_file_activity_observer.cc
diff --git a/chrome/browser/download/download_test_file_activity_observer.cc b/chrome/browser/download/download_test_file_activity_observer.cc
index 2137409dea736177b4e7bfb4ec306df8d5eeeabc..ae7451423245a010475a6d57a8ccc25fd6bd92f8 100644
--- a/chrome/browser/download/download_test_file_activity_observer.cc
+++ b/chrome/browser/download/download_test_file_activity_observer.cc
@@ -43,9 +43,11 @@ class DownloadTestFileActivityObserver::MockDownloadManagerDelegate
const FileSelectedCallback&
callback) OVERRIDE {
file_chooser_displayed_ = true;
- MessageLoop::current()->PostTask(
- FROM_HERE, base::Bind(callback, (file_chooser_enabled_ ? suggested_path
- : base::FilePath())));
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE,
+ base::Bind(
+ callback,
+ (file_chooser_enabled_ ? suggested_path : base::FilePath())));
}
virtual void OpenDownload(content::DownloadItem* item) OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698