summaryrefslogtreecommitdiffstats
path: root/content/browser/content_browser_client.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-08 19:30:49 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-08 19:30:49 +0000
commita2176798cd1bd8a69b4bb8fd5b94e13423a3a345 (patch)
tree13a6421d8a965296f6b5554c0a6e65d01b18b2e2 /content/browser/content_browser_client.cc
parent6488b19f2122c1b1817f0852ea6b47e9c19e9488 (diff)
downloadchromium_src-a2176798cd1bd8a69b4bb8fd5b94e13423a3a345.zip
chromium_src-a2176798cd1bd8a69b4bb8fd5b94e13423a3a345.tar.gz
chromium_src-a2176798cd1bd8a69b4bb8fd5b94e13423a3a345.tar.bz2
Have AppCache code go through the content embedder API for content settings checks.
BUG=76793 Review URL: http://codereview.chromium.org/6951008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/content_browser_client.cc')
-rw-r--r--content/browser/content_browser_client.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/content_browser_client.cc b/content/browser/content_browser_client.cc
index 9cb40e8..2f6d597 100644
--- a/content/browser/content_browser_client.cc
+++ b/content/browser/content_browser_client.cc
@@ -52,6 +52,11 @@ std::string ContentBrowserClient::GetApplicationLocale() {
return std::string();
}
+bool ContentBrowserClient::AllowAppCache(
+ const GURL& manifest_url, const content::ResourceContext* context) {
+ return true;
+}
+
#if defined(OS_LINUX)
int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
return -1;