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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 void ContentBrowserClient::AppendExtraCommandLineSwitches( | 45 void ContentBrowserClient::AppendExtraCommandLineSwitches( |
46 CommandLine* command_line, int child_process_id) { | 46 CommandLine* command_line, int child_process_id) { |
47 } | 47 } |
48 | 48 |
49 std::string ContentBrowserClient::GetApplicationLocale() { | 49 std::string ContentBrowserClient::GetApplicationLocale() { |
50 return std::string(); | 50 return std::string(); |
51 } | 51 } |
52 | 52 |
| 53 std::string ContentBrowserClient::GetAcceptLangs(const TabContents* tab) { |
| 54 return std::string(); |
| 55 } |
| 56 |
53 bool ContentBrowserClient::AllowAppCache( | 57 bool ContentBrowserClient::AllowAppCache( |
54 const GURL& manifest_url, const content::ResourceContext& context) { | 58 const GURL& manifest_url, const content::ResourceContext& context) { |
55 return true; | 59 return true; |
56 } | 60 } |
57 | 61 |
58 bool ContentBrowserClient::AllowGetCookie( | 62 bool ContentBrowserClient::AllowGetCookie( |
59 const GURL& url, | 63 const GURL& url, |
60 const GURL& first_party, | 64 const GURL& first_party, |
61 const net::CookieList& cookie_list, | 65 const net::CookieList& cookie_list, |
62 const content::ResourceContext& context, | 66 const content::ResourceContext& context, |
(...skipping 13 matching lines...) Expand all Loading... |
76 return true; | 80 return true; |
77 } | 81 } |
78 | 82 |
79 #if defined(OS_LINUX) | 83 #if defined(OS_LINUX) |
80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { | 84 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { |
81 return -1; | 85 return -1; |
82 } | 86 } |
83 #endif | 87 #endif |
84 | 88 |
85 } // namespace content | 89 } // namespace content |
OLD | NEW |