| 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 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 | 31 |
| 32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { | 32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { |
| 33 return url; | 33 return url; |
| 34 } | 34 } |
| 35 | 35 |
| 36 bool ContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { | 36 bool ContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { |
| 37 return false; | 37 return false; |
| 38 } | 38 } |
| 39 | 39 |
| 40 GURL ContentBrowserClient::GetAlternateErrorPageURL(const TabContents* tab) { | |
| 41 return GURL(); | |
| 42 } | |
| 43 | |
| 44 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 40 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
| 45 const std::string& alias_name) { | 41 const std::string& alias_name) { |
| 46 return alias_name; | 42 return alias_name; |
| 47 } | 43 } |
| 48 | 44 |
| 49 void ContentBrowserClient::AppendExtraCommandLineSwitches( | 45 void ContentBrowserClient::AppendExtraCommandLineSwitches( |
| 50 CommandLine* command_line, int child_process_id) { | 46 CommandLine* command_line, int child_process_id) { |
| 51 } | 47 } |
| 52 | 48 |
| 53 std::string ContentBrowserClient::GetApplicationLocale() { | 49 std::string ContentBrowserClient::GetApplicationLocale() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 80 return true; | 76 return true; |
| 81 } | 77 } |
| 82 | 78 |
| 83 #if defined(OS_LINUX) | 79 #if defined(OS_LINUX) |
| 84 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { | 80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { |
| 85 return -1; | 81 return -1; |
| 86 } | 82 } |
| 87 #endif | 83 #endif |
| 88 | 84 |
| 89 } // namespace content | 85 } // namespace content |
| OLD | NEW |