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 21 matching lines...) Expand all Loading... |
32 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 32 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
33 const GURL& url) { | 33 const GURL& url) { |
34 return url; | 34 return url; |
35 } | 35 } |
36 | 36 |
37 bool ContentBrowserClient::ShouldUseProcessPerSite( | 37 bool ContentBrowserClient::ShouldUseProcessPerSite( |
38 BrowserContext* browser_context, const GURL& effective_url) { | 38 BrowserContext* browser_context, const GURL& effective_url) { |
39 return false; | 39 return false; |
40 } | 40 } |
41 | 41 |
| 42 bool ContentBrowserClient::DoesSiteRequireDedicatedProcess( |
| 43 BrowserContext* browser_context, |
| 44 const GURL& effective_url) { |
| 45 return false; |
| 46 } |
| 47 |
42 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, | 48 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, |
43 const GURL& effective_url) { | 49 const GURL& effective_url) { |
44 return true; | 50 return true; |
45 } | 51 } |
46 | 52 |
47 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { | 53 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { |
48 return false; | 54 return false; |
49 } | 55 } |
50 | 56 |
51 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( | 57 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 #if defined(VIDEO_HOLE) | 394 #if defined(VIDEO_HOLE) |
389 ExternalVideoSurfaceContainer* | 395 ExternalVideoSurfaceContainer* |
390 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 396 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
391 WebContents* web_contents) { | 397 WebContents* web_contents) { |
392 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 398 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
393 return nullptr; | 399 return nullptr; |
394 } | 400 } |
395 #endif | 401 #endif |
396 | 402 |
397 } // namespace content | 403 } // namespace content |
OLD | NEW |