| 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 18 matching lines...) Expand all Loading... |
| 29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
| 30 const GURL& url) { | 30 const GURL& url) { |
| 31 return url; | 31 return url; |
| 32 } | 32 } |
| 33 | 33 |
| 34 bool ContentBrowserClient::ShouldUseProcessPerSite( | 34 bool ContentBrowserClient::ShouldUseProcessPerSite( |
| 35 BrowserContext* browser_context, const GURL& effective_url) { | 35 BrowserContext* browser_context, const GURL& effective_url) { |
| 36 return false; | 36 return false; |
| 37 } | 37 } |
| 38 | 38 |
| 39 std::vector<std::string> ContentBrowserClient::GetAdditionalWebUISchemes() { | |
| 40 return std::vector<std::string>(); | |
| 41 } | |
| 42 | |
| 43 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( | 39 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( |
| 44 BrowserContext* browser_context, | 40 BrowserContext* browser_context, |
| 45 ProtocolHandlerMap* protocol_handlers) { | 41 ProtocolHandlerMap* protocol_handlers) { |
| 46 return NULL; | 42 return NULL; |
| 47 } | 43 } |
| 48 | 44 |
| 49 net::URLRequestContextGetter* | 45 net::URLRequestContextGetter* |
| 50 ContentBrowserClient::CreateRequestContextForStoragePartition( | 46 ContentBrowserClient::CreateRequestContextForStoragePartition( |
| 51 BrowserContext* browser_context, | 47 BrowserContext* browser_context, |
| 52 const base::FilePath& partition_path, | 48 const base::FilePath& partition_path, |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 #endif | 270 #endif |
| 275 | 271 |
| 276 #if defined(USE_NSS) | 272 #if defined(USE_NSS) |
| 277 crypto::CryptoModuleBlockingPasswordDelegate* | 273 crypto::CryptoModuleBlockingPasswordDelegate* |
| 278 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 274 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 279 return NULL; | 275 return NULL; |
| 280 } | 276 } |
| 281 #endif | 277 #endif |
| 282 | 278 |
| 283 } // namespace content | 279 } // namespace content |
| OLD | NEW |