| 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 "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/client_certificate_delegate.h" | 9 #include "content/public/browser/client_certificate_delegate.h" |
| 10 #include "content/public/browser/vpn_service_proxy.h" |
| 10 #include "content/public/common/sandbox_type.h" | 11 #include "content/public/common/sandbox_type.h" |
| 11 #include "media/base/cdm_factory.h" | 12 #include "media/base/cdm_factory.h" |
| 12 #include "storage/browser/quota/quota_manager.h" | 13 #include "storage/browser/quota/quota_manager.h" |
| 13 #include "ui/gfx/image/image_skia.h" | 14 #include "ui/gfx/image/image_skia.h" |
| 14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| 18 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 19 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
| 19 const MainFunctionParams& parameters) { | 20 const MainFunctionParams& parameters) { |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 const SocketPermissionRequest* params) { | 338 const SocketPermissionRequest* params) { |
| 338 return false; | 339 return false; |
| 339 } | 340 } |
| 340 | 341 |
| 341 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( | 342 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( |
| 342 BrowserContext* browser_context, | 343 BrowserContext* browser_context, |
| 343 const GURL& url) { | 344 const GURL& url) { |
| 344 return false; | 345 return false; |
| 345 } | 346 } |
| 346 | 347 |
| 348 std::unique_ptr<VpnServiceProxy> ContentBrowserClient::GetVpnServiceProxy( |
| 349 BrowserContext* browser_context) { |
| 350 return nullptr; |
| 351 } |
| 352 |
| 347 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 353 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 348 WebContents* web_contents) { | 354 WebContents* web_contents) { |
| 349 return nullptr; | 355 return nullptr; |
| 350 } | 356 } |
| 351 | 357 |
| 352 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 358 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 353 return nullptr; | 359 return nullptr; |
| 354 } | 360 } |
| 355 | 361 |
| 356 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { | 362 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 #if defined(VIDEO_HOLE) | 432 #if defined(VIDEO_HOLE) |
| 427 ExternalVideoSurfaceContainer* | 433 ExternalVideoSurfaceContainer* |
| 428 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 434 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 429 WebContents* web_contents) { | 435 WebContents* web_contents) { |
| 430 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 436 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 431 return nullptr; | 437 return nullptr; |
| 432 } | 438 } |
| 433 #endif | 439 #endif |
| 434 | 440 |
| 435 } // namespace content | 441 } // namespace content |
| OLD | NEW |