| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "content/shell/shell.h" | 9 #include "content/shell/shell.h" |
| 10 #include "content/shell/shell_browser_main.h" | 10 #include "content/shell/shell_browser_main.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 GURL ShellContentBrowserClient::GetEffectiveURL( | 68 GURL ShellContentBrowserClient::GetEffectiveURL( |
| 69 content::BrowserContext* browser_context, const GURL& url) { | 69 content::BrowserContext* browser_context, const GURL& url) { |
| 70 return GURL(); | 70 return GURL(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool ShellContentBrowserClient::ShouldUseProcessPerSite( | 73 bool ShellContentBrowserClient::ShouldUseProcessPerSite( |
| 74 BrowserContext* browser_context, const GURL& effective_url) { | 74 BrowserContext* browser_context, const GURL& effective_url) { |
| 75 return false; | 75 return false; |
| 76 } | 76 } |
| 77 | 77 |
| 78 bool ShellContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { | |
| 79 return false; | |
| 80 } | |
| 81 | |
| 82 bool ShellContentBrowserClient::IsHandledURL(const GURL& url) { | 78 bool ShellContentBrowserClient::IsHandledURL(const GURL& url) { |
| 83 return false; | 79 return false; |
| 84 } | 80 } |
| 85 | 81 |
| 86 bool ShellContentBrowserClient::IsSuitableHost( | 82 bool ShellContentBrowserClient::IsSuitableHost( |
| 87 RenderProcessHost* process_host, | 83 RenderProcessHost* process_host, |
| 88 const GURL& site_url) { | 84 const GURL& site_url) { |
| 89 return true; | 85 return true; |
| 90 } | 86 } |
| 91 | 87 |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 #endif | 321 #endif |
| 326 | 322 |
| 327 #if defined(USE_NSS) | 323 #if defined(USE_NSS) |
| 328 crypto::CryptoModuleBlockingPasswordDelegate* | 324 crypto::CryptoModuleBlockingPasswordDelegate* |
| 329 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 325 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 330 return NULL; | 326 return NULL; |
| 331 } | 327 } |
| 332 #endif | 328 #endif |
| 333 | 329 |
| 334 } // namespace content | 330 } // namespace content |
| OLD | NEW |