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 "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 } | 26 } |
27 | 27 |
28 bool ContentBrowserClient::ShouldUseProcessPerSite( | 28 bool ContentBrowserClient::ShouldUseProcessPerSite( |
29 BrowserContext* browser_context, const GURL& effective_url) { | 29 BrowserContext* browser_context, const GURL& effective_url) { |
30 return false; | 30 return false; |
31 } | 31 } |
32 | 32 |
33 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( | 33 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( |
34 BrowserContext* browser_context, | 34 BrowserContext* browser_context, |
35 ProtocolHandlerMap* protocol_handlers, | 35 ProtocolHandlerMap* protocol_handlers, |
36 ProtocolHandlerScopedVector protocol_interceptors) { | 36 URLRequestInterceptorScopedVector request_interceptors) { |
37 return NULL; | 37 return NULL; |
38 } | 38 } |
39 | 39 |
40 net::URLRequestContextGetter* | 40 net::URLRequestContextGetter* |
41 ContentBrowserClient::CreateRequestContextForStoragePartition( | 41 ContentBrowserClient::CreateRequestContextForStoragePartition( |
42 BrowserContext* browser_context, | 42 BrowserContext* browser_context, |
43 const base::FilePath& partition_path, | 43 const base::FilePath& partition_path, |
44 bool in_memory, | 44 bool in_memory, |
45 ProtocolHandlerMap* protocol_handlers, | 45 ProtocolHandlerMap* protocol_handlers, |
46 ProtocolHandlerScopedVector protocol_interceptors) { | 46 URLRequestInterceptorScopedVector request_interceptors) { |
47 return NULL; | 47 return NULL; |
48 } | 48 } |
49 | 49 |
50 bool ContentBrowserClient::IsHandledURL(const GURL& url) { | 50 bool ContentBrowserClient::IsHandledURL(const GURL& url) { |
51 return false; | 51 return false; |
52 } | 52 } |
53 | 53 |
54 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, | 54 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, |
55 const GURL& site_url) { | 55 const GURL& site_url) { |
56 return true; | 56 return true; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 #if defined(VIDEO_HOLE) | 314 #if defined(VIDEO_HOLE) |
315 ExternalVideoSurfaceContainer* | 315 ExternalVideoSurfaceContainer* |
316 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 316 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
317 WebContents* web_contents) { | 317 WebContents* web_contents) { |
318 return NULL; | 318 return NULL; |
319 } | 319 } |
320 #endif | 320 #endif |
321 | 321 |
322 } // namespace content | 322 } // namespace content |
OLD | NEW |