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

Unified Diff: chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc

Issue 2548883002: Revert of Add thread checking to RunLoop, deprecate MessageLoopRunner. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « base/run_loop.cc ('k') | chrome/browser/sync/test/integration/dictionary_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
diff --git a/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
index 29c46fad1ce376f587753201824fd37bfc4e94aa..ab2fecfa8dedb4cbe8bf7899de9b9a407007134c 100644
--- a/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
+++ b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
@@ -54,10 +54,11 @@
std::vector<base::FilePath> paths;
paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist")));
(new ZipFileCreator(
- base::Bind(&TestCallback, &success,
- content::GetDeferredQuitTaskForRunLoop(&run_loop)),
- zip_base_dir(), paths, zip_archive_path()))
- ->Start();
+ base::Bind(
+ &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)),
+ zip_base_dir(),
+ paths,
+ zip_archive_path()))->Start();
content::RunThisRunLoop(&run_loop);
EXPECT_FALSE(success);
@@ -83,10 +84,11 @@
paths.push_back(kFile1);
paths.push_back(kFile2);
(new ZipFileCreator(
- base::Bind(&TestCallback, &success,
- content::GetDeferredQuitTaskForRunLoop(&run_loop)),
- zip_base_dir(), paths, zip_archive_path()))
- ->Start();
+ base::Bind(
+ &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)),
+ zip_base_dir(),
+ paths,
+ zip_archive_path()))->Start();
content::RunThisRunLoop(&run_loop);
EXPECT_TRUE(success);
« no previous file with comments | « base/run_loop.cc ('k') | chrome/browser/sync/test/integration/dictionary_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698