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

Unified Diff: chrome/browser/download/save_page_browsertest.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/save_page_browsertest.cc
diff --git a/chrome/browser/download/save_page_browsertest.cc b/chrome/browser/download/save_page_browsertest.cc
index d60d42c4a3969cb3ca68d6267c134df05d3785be..21a89035d81cad73be1ada80e136d76d7e9a5470 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -89,7 +89,7 @@ class DownloadPersistedObserver : public DownloadHistory::Observer {
const history::DownloadRow& info) OVERRIDE {
persisted_ = filter_.Run(item, info);
if (persisted_ && waiting_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
private:
@@ -129,7 +129,7 @@ class DownloadRemovedObserver : public DownloadPersistedObserver {
virtual void OnDownloadsRemoved(const DownloadHistory::IdSet& ids) OVERRIDE {
removed_ = ids.find(download_id_) != ids.end();
if (removed_ && waiting_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
private:
@@ -230,14 +230,14 @@ class DownloadItemCreatedObserver : public DownloadManager::Observer {
items_seen_.push_back(item);
if (waiting_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
virtual void ManagerGoingDown(DownloadManager* manager) OVERRIDE {
manager_->RemoveObserver(this);
manager_ = NULL;
if (waiting_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
bool waiting_;

Powered by Google App Engine
This is Rietveld 408576698