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

Unified Diff: content/shell/shell_content_browser_client.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_content_browser_client.h ('k') | content/shell/shell_resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
===================================================================
--- content/shell/shell_content_browser_client.cc (revision 121250)
+++ content/shell/shell_content_browser_client.cc (working copy)
@@ -127,7 +127,7 @@
bool ShellContentBrowserClient::AllowAppCache(
const GURL& manifest_url,
const GURL& first_party,
- const content::ResourceContext& context) {
+ content::ResourceContext* context) {
return true;
}
@@ -135,7 +135,7 @@
const GURL& url,
const GURL& first_party,
const net::CookieList& cookie_list,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id,
int render_view_id) {
return true;
@@ -145,7 +145,7 @@
const GURL& url,
const GURL& first_party,
const std::string& cookie_line,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id,
int render_view_id,
net::CookieOptions* options) {
@@ -153,7 +153,7 @@
}
bool ShellContentBrowserClient::AllowSaveLocalState(
- const content::ResourceContext& context) {
+ content::ResourceContext* context) {
return true;
}
@@ -162,14 +162,14 @@
const string16& name,
const string16& display_name,
unsigned long estimated_size,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
const std::vector<std::pair<int, int> >& render_views) {
return true;
}
bool ShellContentBrowserClient::AllowWorkerFileSystem(
const GURL& url,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
const std::vector<std::pair<int, int> >& render_views) {
return true;
}
@@ -180,7 +180,7 @@
}
net::URLRequestContext* ShellContentBrowserClient::OverrideRequestContextForURL(
- const GURL& url, const content::ResourceContext& context) {
+ const GURL& url, content::ResourceContext* context) {
return NULL;
}
@@ -219,7 +219,7 @@
WebKit::WebNotificationPresenter::Permission
ShellContentBrowserClient::CheckDesktopNotificationPermission(
const GURL& source_origin,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id) {
return WebKit::WebNotificationPresenter::PermissionAllowed;
}
@@ -240,13 +240,13 @@
bool ShellContentBrowserClient::CanCreateWindow(
const GURL& origin,
WindowContainerType container_type,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id) {
return true;
}
std::string ShellContentBrowserClient::GetWorkerProcessTitle(
- const GURL& url, const content::ResourceContext& context) {
+ const GURL& url, content::ResourceContext* context) {
return std::string();
}
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698