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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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/chrome_download_manager_delegate_unittest.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
index abb3b987da29b874b47429b0b27b870af7461046..0c58cd7be17c80d307f6bb54c4fc19582b9d224f 100644
--- a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
@@ -55,12 +55,12 @@ class MockWebContentsDelegate : public content::WebContentsDelegate {
// EXPECT_CALL(mock_fooclass_instance, Foo(callback))
// .WillOnce(ScheduleCallback(false));
ACTION_P(ScheduleCallback, result) {
- MessageLoop::current()->PostTask(FROM_HERE, base::Bind(arg0, result));
+ base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(arg0, result));
}
// Similar to ScheduleCallback, but binds 2 arguments.
ACTION_P2(ScheduleCallback2, result0, result1) {
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(arg0, result0, result1));
}
@@ -101,8 +101,8 @@ class TestChromeDownloadManagerDelegate : public ChromeDownloadManagerDelegate {
OVERRIDE {
// Pretend the path reservation succeeded without any change to
// |target_path|.
- MessageLoop::current()->PostTask(FROM_HERE,
- base::Bind(callback, virtual_path, true));
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE, base::Bind(callback, virtual_path, true));
}
virtual void PromptUserForDownloadPath(
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698