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

Side by Side Diff: content/browser/resource_context.cc

Issue 7480041: Adding session-only localStorage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Streamlining: Moving ResourceContext& from DOMStorageContext to DOMMessageFilter. Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/resource_context.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/resource_context.h" 5 #include "content/browser/resource_context.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/browser_thread.h" 8 #include "content/browser/browser_thread.h"
9 #include "webkit/database/database_tracker.h" 9 #include "webkit/database/database_tracker.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 ResourceContext::ResourceContext() 13 ResourceContext::ResourceContext()
14 : host_resolver_(NULL), 14 : request_context_(NULL),
15 request_context_(NULL), 15 host_resolver_(NULL),
16 appcache_service_(NULL), 16 appcache_service_(NULL),
17 database_tracker_(NULL), 17 database_tracker_(NULL),
18 file_system_context_(NULL), 18 file_system_context_(NULL),
19 blob_storage_context_(NULL), 19 blob_storage_context_(NULL),
20 quota_manager_(NULL), 20 quota_manager_(NULL),
21 host_zoom_map_(NULL), 21 host_zoom_map_(NULL),
22 media_observer_(NULL) { 22 media_observer_(NULL) {
23 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 23 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
24 } 24 }
25 25
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 return prerender_manager_; 152 return prerender_manager_;
153 } 153 }
154 154
155 void ResourceContext::set_prerender_manager( 155 void ResourceContext::set_prerender_manager(
156 const base::WeakPtr<prerender::PrerenderManager>& prerender_manager) { 156 const base::WeakPtr<prerender::PrerenderManager>& prerender_manager) {
157 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 157 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
158 prerender_manager_ = prerender_manager; 158 prerender_manager_ = prerender_manager;
159 } 159 }
160 160
161 } // namespace content 161 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/resource_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698