| 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/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "content/browser/webui/empty_web_ui_factory.h" | 8 #include "content/browser/webui/empty_web_ui_factory.h" |
| 9 #include "content/shell/shell_browser_main.h" | 9 #include "content/shell/shell_browser_main.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 bool ShellContentBrowserClient::ShouldUseProcessPerSite( | 67 bool ShellContentBrowserClient::ShouldUseProcessPerSite( |
| 68 BrowserContext* browser_context, const GURL& effective_url) { | 68 BrowserContext* browser_context, const GURL& effective_url) { |
| 69 return false; | 69 return false; |
| 70 } | 70 } |
| 71 | 71 |
| 72 bool ShellContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { | 72 bool ShellContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { |
| 73 return false; | 73 return false; |
| 74 } | 74 } |
| 75 | 75 |
| 76 bool ShellContentBrowserClient::ShouldRunInPrivilegedProcess(const GURL& url) { |
| 77 return false; |
| 78 } |
| 79 |
| 80 bool ShellContentBrowserClient::IsSuitableHost( |
| 81 RenderProcessHost* process_host, |
| 82 const GURL& site_url) { |
| 83 return true; |
| 84 } |
| 85 |
| 76 std::string ShellContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 86 std::string ShellContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
| 77 const std::string& alias_name) { | 87 const std::string& alias_name) { |
| 78 return std::string(); | 88 return std::string(); |
| 79 } | 89 } |
| 80 | 90 |
| 81 void ShellContentBrowserClient::AppendExtraCommandLineSwitches( | 91 void ShellContentBrowserClient::AppendExtraCommandLineSwitches( |
| 82 CommandLine* command_line, int child_process_id) { | 92 CommandLine* command_line, int child_process_id) { |
| 83 } | 93 } |
| 84 | 94 |
| 85 std::string ShellContentBrowserClient::GetApplicationLocale() { | 95 std::string ShellContentBrowserClient::GetApplicationLocale() { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 #endif | 296 #endif |
| 287 | 297 |
| 288 #if defined(USE_NSS) | 298 #if defined(USE_NSS) |
| 289 crypto::CryptoModuleBlockingPasswordDelegate* | 299 crypto::CryptoModuleBlockingPasswordDelegate* |
| 290 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 300 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 291 return NULL; | 301 return NULL; |
| 292 } | 302 } |
| 293 #endif | 303 #endif |
| 294 | 304 |
| 295 } // namespace content | 305 } // namespace content |
| OLD | NEW |