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

Unified Diff: content/shell/shell_browser_context.cc

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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
« no previous file with comments | « content/shell/shell_browser_context.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_browser_context.cc
===================================================================
--- content/shell/shell_browser_context.cc (revision 121250)
+++ content/shell/shell_browser_context.cc (working copy)
@@ -167,13 +167,13 @@
return GetRequestContext();
}
-const ResourceContext& ShellBrowserContext::GetResourceContext() {
+ResourceContext* ShellBrowserContext::GetResourceContext() {
if (!resource_context_.get()) {
resource_context_.reset(new ShellResourceContext(
static_cast<ShellURLRequestContextGetter*>(GetRequestContext()),
GetBlobStorageContext()));
}
- return *resource_context_.get();
+ return resource_context_.get();
}
HostZoomMap* ShellBrowserContext::GetHostZoomMap() {
@@ -266,7 +266,7 @@
appcache_service_.get(),
IsOffTheRecord()
? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")),
- &GetResourceContext(),
+ GetResourceContext(),
special_storage_policy));
}
« no previous file with comments | « content/shell/shell_browser_context.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698