OLD | NEW |
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 Loading... |
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 |
OLD | NEW |