| 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/common/sandbox_type.h" | 10 #include "content/public/common/sandbox_type.h" |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 } | 331 } |
| 332 | 332 |
| 333 bool ContentBrowserClient::AllowPepperSocketAPI( | 333 bool ContentBrowserClient::AllowPepperSocketAPI( |
| 334 BrowserContext* browser_context, | 334 BrowserContext* browser_context, |
| 335 const GURL& url, | 335 const GURL& url, |
| 336 bool private_api, | 336 bool private_api, |
| 337 const SocketPermissionRequest* params) { | 337 const SocketPermissionRequest* params) { |
| 338 return false; | 338 return false; |
| 339 } | 339 } |
| 340 | 340 |
| 341 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( |
| 342 BrowserContext* browser_context, |
| 343 const GURL& url) { |
| 344 return false; |
| 345 } |
| 346 |
| 341 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 347 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 342 WebContents* web_contents) { | 348 WebContents* web_contents) { |
| 343 return nullptr; | 349 return nullptr; |
| 344 } | 350 } |
| 345 | 351 |
| 346 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 352 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 347 return nullptr; | 353 return nullptr; |
| 348 } | 354 } |
| 349 | 355 |
| 350 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { | 356 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 #if defined(VIDEO_HOLE) | 426 #if defined(VIDEO_HOLE) |
| 421 ExternalVideoSurfaceContainer* | 427 ExternalVideoSurfaceContainer* |
| 422 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 428 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 423 WebContents* web_contents) { | 429 WebContents* web_contents) { |
| 424 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 430 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 425 return nullptr; | 431 return nullptr; |
| 426 } | 432 } |
| 427 #endif | 433 #endif |
| 428 | 434 |
| 429 } // namespace content | 435 } // namespace content |
| OLD | NEW |