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 "third_party/skia/include/core/SkBitmap.h" | 8 #include "third_party/skia/include/core/SkBitmap.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::ShouldSwapProcessesForNavigation( | 56 bool ContentBrowserClient::ShouldSwapBrowsingInstanceForNavigation( |
57 const GURL& current_url, | 57 BrowserContext* browser_context, |
58 const GURL& new_url) { | 58 const GURL& current_url, |
| 59 const GURL& new_url) { |
59 return false; | 60 return false; |
60 } | 61 } |
61 | 62 |
62 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 63 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
63 ResourceContext* resource_context, const GURL& current_url, | 64 ResourceContext* resource_context, const GURL& current_url, |
64 const GURL& new_url) { | 65 const GURL& new_url) { |
65 return false; | 66 return false; |
66 } | 67 } |
67 | 68 |
68 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 69 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 #endif | 217 #endif |
217 | 218 |
218 #if defined(USE_NSS) | 219 #if defined(USE_NSS) |
219 crypto::CryptoModuleBlockingPasswordDelegate* | 220 crypto::CryptoModuleBlockingPasswordDelegate* |
220 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 221 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
221 return NULL; | 222 return NULL; |
222 } | 223 } |
223 #endif | 224 #endif |
224 | 225 |
225 } // namespace content | 226 } // namespace content |
OLD | NEW |