| 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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, | 46 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, |
| 47 const GURL& site_url) { | 47 const GURL& site_url) { |
| 48 return true; | 48 return true; |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( | 51 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( |
| 52 BrowserContext* browser_context, const GURL& url) { | 52 BrowserContext* browser_context, const GURL& url) { |
| 53 return false; | 53 return false; |
| 54 } | 54 } |
| 55 | 55 |
| 56 bool ContentBrowserClient::ShouldSwapBrowsingInstanceForNavigation( | 56 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( |
| 57 BrowserContext* browser_context, | 57 const GURL& current_url, |
| 58 const GURL& current_url, | 58 const GURL& new_url) { |
| 59 const GURL& new_url) { | |
| 60 return false; | 59 return false; |
| 61 } | 60 } |
| 62 | 61 |
| 63 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 62 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
| 64 ResourceContext* resource_context, const GURL& current_url, | 63 ResourceContext* resource_context, const GURL& current_url, |
| 65 const GURL& new_url) { | 64 const GURL& new_url) { |
| 66 return false; | 65 return false; |
| 67 } | 66 } |
| 68 | 67 |
| 69 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 68 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 #endif | 216 #endif |
| 218 | 217 |
| 219 #if defined(USE_NSS) | 218 #if defined(USE_NSS) |
| 220 crypto::CryptoModuleBlockingPasswordDelegate* | 219 crypto::CryptoModuleBlockingPasswordDelegate* |
| 221 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 220 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 222 return NULL; | 221 return NULL; |
| 223 } | 222 } |
| 224 #endif | 223 #endif |
| 225 | 224 |
| 226 } // namespace content | 225 } // namespace content |
| OLD | NEW |