| 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 "content/public/browser/client_certificate_delegate.h" | 8 #include "content/public/browser/client_certificate_delegate.h" |
| 9 #include "content/public/common/sandbox_type.h" | 9 #include "content/public/common/sandbox_type.h" |
| 10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 bool in_memory, | 58 bool in_memory, |
| 59 ProtocolHandlerMap* protocol_handlers, | 59 ProtocolHandlerMap* protocol_handlers, |
| 60 URLRequestInterceptorScopedVector request_interceptors) { | 60 URLRequestInterceptorScopedVector request_interceptors) { |
| 61 return nullptr; | 61 return nullptr; |
| 62 } | 62 } |
| 63 | 63 |
| 64 bool ContentBrowserClient::IsHandledURL(const GURL& url) { | 64 bool ContentBrowserClient::IsHandledURL(const GURL& url) { |
| 65 return false; | 65 return false; |
| 66 } | 66 } |
| 67 | 67 |
| 68 GURL ContentBrowserClient::GetHandlerFor(BrowserContext* browser_context, |
| 69 const GURL& url) { |
| 70 return GURL::EmptyGURL(); |
| 71 } |
| 72 |
| 68 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, | 73 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, |
| 69 const GURL& site_url) { | 74 const GURL& site_url) { |
| 70 return true; | 75 return true; |
| 71 } | 76 } |
| 72 | 77 |
| 73 bool ContentBrowserClient::IsIllegalOrigin(ResourceContext* resource_context, | 78 bool ContentBrowserClient::IsIllegalOrigin(ResourceContext* resource_context, |
| 74 int child_process_id, | 79 int child_process_id, |
| 75 const GURL& origin) { | 80 const GURL& origin) { |
| 76 return false; | 81 return false; |
| 77 } | 82 } |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 #if defined(VIDEO_HOLE) | 383 #if defined(VIDEO_HOLE) |
| 379 ExternalVideoSurfaceContainer* | 384 ExternalVideoSurfaceContainer* |
| 380 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 385 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 381 WebContents* web_contents) { | 386 WebContents* web_contents) { |
| 382 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 387 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 383 return nullptr; | 388 return nullptr; |
| 384 } | 389 } |
| 385 #endif | 390 #endif |
| 386 | 391 |
| 387 } // namespace content | 392 } // namespace content |
| OLD | NEW |