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/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const base::FilePath& partition_path, | 56 const base::FilePath& partition_path, |
57 bool in_memory, | 57 bool in_memory, |
58 ProtocolHandlerMap* protocol_handlers) { | 58 ProtocolHandlerMap* protocol_handlers) { |
59 return NULL; | 59 return NULL; |
60 } | 60 } |
61 | 61 |
62 bool ContentBrowserClient::IsHandledURL(const GURL& url) { | 62 bool ContentBrowserClient::IsHandledURL(const GURL& url) { |
63 return false; | 63 return false; |
64 } | 64 } |
65 | 65 |
| 66 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, |
| 67 const GURL& site_url) { |
| 68 return true; |
| 69 } |
| 70 |
66 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, | 71 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, |
67 const GURL& site_url) { | 72 const GURL& site_url) { |
68 return true; | 73 return true; |
69 } | 74 } |
70 | 75 |
71 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( | 76 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( |
72 BrowserContext* browser_context, const GURL& url) { | 77 BrowserContext* browser_context, const GURL& url) { |
73 return false; | 78 return false; |
74 } | 79 } |
75 | 80 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 #endif | 283 #endif |
279 | 284 |
280 #if defined(USE_NSS) | 285 #if defined(USE_NSS) |
281 crypto::CryptoModuleBlockingPasswordDelegate* | 286 crypto::CryptoModuleBlockingPasswordDelegate* |
282 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 287 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
283 return NULL; | 288 return NULL; |
284 } | 289 } |
285 #endif | 290 #endif |
286 | 291 |
287 } // namespace content | 292 } // namespace content |
OLD | NEW |