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

Unified Diff: content/browser/mock_resource_context.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
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mock_resource_context.cc
diff --git a/content/browser/mock_resource_context.cc b/content/browser/mock_resource_context.cc
index 2406273c7415c4d565c5b952022e231499755c80..0c6f4d3299575c3c81afb51410b9439541150787 100644
--- a/content/browser/mock_resource_context.cc
+++ b/content/browser/mock_resource_context.cc
@@ -18,7 +18,7 @@ MockResourceContext* MockResourceContext::GetInstance() {
MockResourceContext::MockResourceContext()
: test_request_context_(new TestURLRequestContext) {
- set_request_context(test_request_context_);
michaeln 2011/08/02 19:47:41 why does the setter not work anymore?
marja 2011/08/03 07:09:52 ResourceContext::ResourceContext DCHECKs we're on
+ request_context_ = test_request_context_;
}
MockResourceContext::~MockResourceContext() {}
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698