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

Unified Diff: chrome/browser/gtk/options/cookies_view_unittest.cc

Issue 387055: Always destruct url request context getter on io thread.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/cookies_tree_model_unittest.cc ('k') | chrome/browser/net/url_request_context_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/cookies_view_unittest.cc
===================================================================
--- chrome/browser/gtk/options/cookies_view_unittest.cc (revision 32111)
+++ chrome/browser/gtk/options/cookies_view_unittest.cc (working copy)
@@ -61,6 +61,12 @@
class CookiesViewTest : public testing::Test {
public:
+ CookiesViewTest() : io_thread_(ChromeThread::IO, &message_loop_) {
+ }
+
+ virtual ~CookiesViewTest() {
+ }
+
virtual void SetUp() {
profile_.reset(new CookieTestingProfile());
}
@@ -153,7 +159,9 @@
}
protected:
- MessageLoopForUI message_loop_;
+ MessageLoop message_loop_;
+ ChromeThread io_thread_;
+
scoped_ptr<CookieTestingProfile> profile_;
};
« no previous file with comments | « chrome/browser/cookies_tree_model_unittest.cc ('k') | chrome/browser/net/url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698