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

Unified Diff: content/browser/mock_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/browser/mock_content_browser_client.h ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mock_content_browser_client.cc
===================================================================
--- content/browser/mock_content_browser_client.cc (revision 121250)
+++ content/browser/mock_content_browser_client.cc (working copy)
@@ -102,7 +102,7 @@
bool MockContentBrowserClient::AllowAppCache(
const GURL& manifest_url, const GURL& first_party,
- const content::ResourceContext& context) {
+ content::ResourceContext* context) {
return true;
}
@@ -110,7 +110,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;
@@ -120,7 +120,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) {
@@ -128,7 +128,7 @@
}
bool MockContentBrowserClient::AllowSaveLocalState(
- const content::ResourceContext& context) {
+ content::ResourceContext* context) {
return true;
}
@@ -137,14 +137,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 MockContentBrowserClient::AllowWorkerFileSystem(
const GURL& url,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
const std::vector<std::pair<int, int> >& render_views) {
return true;
}
@@ -155,7 +155,7 @@
}
net::URLRequestContext* MockContentBrowserClient::OverrideRequestContextForURL(
- const GURL& url, const content::ResourceContext& context) {
+ const GURL& url, content::ResourceContext* context) {
return NULL;
}
@@ -194,7 +194,7 @@
WebKit::WebNotificationPresenter::Permission
MockContentBrowserClient::CheckDesktopNotificationPermission(
const GURL& source_origin,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id) {
return WebKit::WebNotificationPresenter::PermissionAllowed;
}
@@ -215,13 +215,13 @@
bool MockContentBrowserClient::CanCreateWindow(
const GURL& source_origin,
WindowContainerType container_type,
- const content::ResourceContext& context,
+ content::ResourceContext* context,
int render_process_id) {
return true;
}
std::string MockContentBrowserClient::GetWorkerProcessTitle(
- const GURL& url, const content::ResourceContext& context) {
+ const GURL& url, content::ResourceContext* context) {
return std::string();
}
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698