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

Unified Diff: content/browser/tab_contents/tab_contents_delegate_unittest.cc

Issue 7480041: Adding session-only localStorage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Misc test fixes, revolving around [Mock]ResourceContext. Created 9 years, 5 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: content/browser/tab_contents/tab_contents_delegate_unittest.cc
diff --git a/content/browser/tab_contents/tab_contents_delegate_unittest.cc b/content/browser/tab_contents/tab_contents_delegate_unittest.cc
index ecce8c447d340b45c114bcb5aa72ba5ba7a7de30..d00102040d35724ba48e6e3f0c39d6986b6b9d8d 100644
--- a/content/browser/tab_contents/tab_contents_delegate_unittest.cc
+++ b/content/browser/tab_contents/tab_contents_delegate_unittest.cc
@@ -53,6 +53,7 @@ class MockTabContentsDelegate : public TabContentsDelegate {
TEST(TabContentsDelegateTest, UnregisterInDestructor) {
MessageLoop loop(MessageLoop::TYPE_UI);
+ BrowserThread ui_thread(BrowserThread::UI, &loop);
scoped_ptr<MockTabContentsDelegate> delegate(new MockTabContentsDelegate());
scoped_ptr<Profile> profile(new TestingProfile());
scoped_ptr<TabContents> contents_a(
« content/browser/mock_resource_context.cc ('K') | « content/browser/resource_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698