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

Side by Side Diff: content/browser/content_browser_client.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/content_browser_client.h" 5 #include "content/browser/content_browser_client.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/browser/webui/empty_web_ui_factory.h" 8 #include "content/browser/webui/empty_web_ui_factory.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 void ContentBrowserClient::AppendExtraCommandLineSwitches( 47 void ContentBrowserClient::AppendExtraCommandLineSwitches(
48 CommandLine* command_line, int child_process_id) { 48 CommandLine* command_line, int child_process_id) {
49 } 49 }
50 50
51 std::string ContentBrowserClient::GetApplicationLocale() { 51 std::string ContentBrowserClient::GetApplicationLocale() {
52 return std::string(); 52 return std::string();
53 } 53 }
54 54
55 bool ContentBrowserClient::AllowAppCache(
56 const GURL& manifest_url, const content::ResourceContext* context) {
57 return true;
58 }
59
55 #if defined(OS_LINUX) 60 #if defined(OS_LINUX)
56 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { 61 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
57 return -1; 62 return -1;
58 } 63 }
59 #endif 64 #endif
60 65
61 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698