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

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

Issue 2564943002: Reland "Add thread checking to RunLoop, deprecate MessageLoopRunner. (patchset #4 id:20002 of https… (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 ab2fecfa8dedb4cbe8bf7899de9b9a407007134c..29c46fad1ce376f587753201824fd37bfc4e94aa 100644
--- a/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
+++ b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
@@ -54,11 +54,10 @@ IN_PROC_BROWSER_TEST_F(ZipFileCreatorTest, FailZipForAbsentFile) {
std::vector<base::FilePath> paths;
paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist")));
(new ZipFileCreator(
- base::Bind(
- &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)),
- zip_base_dir(),
- paths,
- zip_archive_path()))->Start();
+ base::Bind(&TestCallback, &success,
+ content::GetDeferredQuitTaskForRunLoop(&run_loop)),
+ zip_base_dir(), paths, zip_archive_path()))
+ ->Start();
content::RunThisRunLoop(&run_loop);
EXPECT_FALSE(success);
@@ -84,11 +83,10 @@ IN_PROC_BROWSER_TEST_F(ZipFileCreatorTest, SomeFilesZip) {
paths.push_back(kFile1);
paths.push_back(kFile2);
(new ZipFileCreator(
- base::Bind(
- &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)),
- zip_base_dir(),
- paths,
- zip_archive_path()))->Start();
+ base::Bind(&TestCallback, &success,
+ content::GetDeferredQuitTaskForRunLoop(&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