summaryrefslogtreecommitdiffstats
path: root/content/browser/appcache/chrome_appcache_service.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 21:03:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 21:03:20 +0000
commitdf02acac84b909c194541c93eb25a3933b2b60cf (patch)
treeccd84a66926a2197dd25889141d1bf608f2baa36 /content/browser/appcache/chrome_appcache_service.cc
parent69faf748560f4f9c98b5e81c1bc917a3b7d6e045 (diff)
downloadchromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.zip
chromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.tar.gz
chromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.tar.bz2
Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't have setters/getters on it, and make all the functions pure virtual).
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9369009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/appcache/chrome_appcache_service.cc')
-rw-r--r--content/browser/appcache/chrome_appcache_service.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc
index 1cb689d..2dbf2c8 100644
--- a/content/browser/appcache/chrome_appcache_service.cc
+++ b/content/browser/appcache/chrome_appcache_service.cc
@@ -22,7 +22,7 @@ ChromeAppCacheService::ChromeAppCacheService(
void ChromeAppCacheService::InitializeOnIOThread(
const FilePath& cache_path,
- const content::ResourceContext* resource_context,
+ content::ResourceContext* resource_context,
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
@@ -50,14 +50,14 @@ bool ChromeAppCacheService::CanLoadAppCache(const GURL& manifest_url,
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
// We don't prompt for read access.
return content::GetContentClient()->browser()->AllowAppCache(
- manifest_url, first_party, *resource_context_);
+ manifest_url, first_party, resource_context_);
}
bool ChromeAppCacheService::CanCreateAppCache(
const GURL& manifest_url, const GURL& first_party) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
return content::GetContentClient()->browser()->AllowAppCache(
- manifest_url, first_party, *resource_context_);
+ manifest_url, first_party, resource_context_);
}
void ChromeAppCacheService::Observe(