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

Unified Diff: chrome/browser/ui/cocoa/cocoa_profile_test.mm

Issue 9419033: Move creation of BrowserContext objects that live in content to content, instead of depending on th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix memory leaks in tests Created 8 years, 10 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/ui/cocoa/cocoa_profile_test.mm
===================================================================
--- chrome/browser/ui/cocoa/cocoa_profile_test.mm (revision 122721)
+++ chrome/browser/ui/cocoa/cocoa_profile_test.mm (working copy)
@@ -14,6 +14,8 @@
: ui_thread_(BrowserThread::UI, &message_loop_),
profile_manager_(static_cast<TestingBrowserProcess*>(g_browser_process)),
profile_(NULL),
+ file_user_blocking_thread_(new content::TestBrowserThread(
+ BrowserThread::FILE_USER_BLOCKING, &message_loop_)),
file_thread_(new content::TestBrowserThread(BrowserThread::FILE,
&message_loop_)),
io_thread_(new content::TestBrowserThread(BrowserThread::IO,
@@ -38,6 +40,7 @@
// Drop any new tasks for the IO and FILE threads.
io_thread_.reset();
file_thread_.reset();
+ file_user_blocking_thread_.reset();
message_loop_.RunAllPending();
}
« no previous file with comments | « chrome/browser/ui/cocoa/cocoa_profile_test.h ('k') | chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698