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

Unified Diff: content/browser/appcache/chrome_appcache_service_unittest.cc

Issue 6951008: Have AppCache code go through the content embedder API for content settings checks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/appcache/chrome_appcache_service.cc ('k') | content/browser/content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/chrome_appcache_service_unittest.cc
===================================================================
--- content/browser/appcache/chrome_appcache_service_unittest.cc (revision 84527)
+++ content/browser/appcache/chrome_appcache_service_unittest.cc (working copy)
@@ -43,12 +43,13 @@
FilePath appcache_path = temp_dir_.path().Append(chrome::kAppCacheDirname);
scoped_refptr<ChromeAppCacheService> appcache_service =
new ChromeAppCacheService;
+ const content::ResourceContext* resource_context = NULL;
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
NewRunnableMethod(appcache_service.get(),
&ChromeAppCacheService::InitializeOnIOThread,
appcache_path,
- scoped_refptr<HostContentSettingsMap>(NULL),
+ resource_context,
scoped_refptr<quota::SpecialStoragePolicy>(NULL),
false));
// Make the steps needed to initialize the storage of AppCache data.
@@ -74,12 +75,13 @@
FilePath appcache_path = temp_dir_.path().Append(chrome::kAppCacheDirname);
scoped_refptr<ChromeAppCacheService> appcache_service =
new ChromeAppCacheService;
+ const content::ResourceContext* resource_context = NULL;
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
NewRunnableMethod(appcache_service.get(),
&ChromeAppCacheService::InitializeOnIOThread,
appcache_path,
- scoped_refptr<HostContentSettingsMap>(NULL),
+ resource_context,
scoped_refptr<quota::SpecialStoragePolicy>(NULL),
true));
// Make the steps needed to initialize the storage of AppCache data.
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.cc ('k') | content/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698