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

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: 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/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 700362ae31347b93a135886b9245372210081fe3..d1bfd9d2507d791978150bf2d6f4613339e7eb3a 100644
--- a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
@@ -63,7 +63,7 @@ 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));
}
// Used with DownloadTestCase. Indicates the type of test case. The expectations
@@ -193,8 +193,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, target_path, true));
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE, base::Bind(callback, target_path, true));
}
// During tests, we want to mock the behavior of this method.

Powered by Google App Engine
This is Rietveld 408576698