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

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

Issue 2549623006: Fix TestBrowserThread destruction order in CrOS tests. (Closed)
Patch Set: +comment on Leaky 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 | « no previous file | chrome/browser/chromeos/hats/hats_finch_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/file_tasks_unittest.cc
diff --git a/chrome/browser/chromeos/file_manager/file_tasks_unittest.cc b/chrome/browser/chromeos/file_manager/file_tasks_unittest.cc
index a013bd9585dc6be2aeea4de45302a857ccaa83b0..b66802f5814860d5b7409f1e3030f28a1a7672a8 100644
--- a/chrome/browser/chromeos/file_manager/file_tasks_unittest.cc
+++ b/chrome/browser/chromeos/file_manager/file_tasks_unittest.cc
@@ -167,10 +167,12 @@ TEST(FileManagerFileTasksTest, ParseTaskID_UnknownTaskType) {
}
TEST(FileManagerFileTasksTest, FindDriveAppTasks) {
- TestingProfile profile;
- // For DriveAppRegistry, which checks CurrentlyOn(BrowserThread::UI).
+ // For DriveAppRegistry and TestingProfile, which check
+ // CurrentlyOn(BrowserThread::UI).
content::TestBrowserThreadBundle thread_bundle;
+ TestingProfile profile;
+
// Foo.app can handle "text/plain" and "text/html"
std::unique_ptr<google_apis::AppResource> foo_app(
new google_apis::AppResource);
« no previous file with comments | « no previous file | chrome/browser/chromeos/hats/hats_finch_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698