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 "base/guid.h" | 8 #include "base/guid.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 base::FilePath ContentBrowserClient::GetShaderDiskCacheDirectory() { | 319 base::FilePath ContentBrowserClient::GetShaderDiskCacheDirectory() { |
320 return base::FilePath(); | 320 return base::FilePath(); |
321 } | 321 } |
322 | 322 |
323 BrowserPpapiHost* | 323 BrowserPpapiHost* |
324 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { | 324 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { |
325 return nullptr; | 325 return nullptr; |
326 } | 326 } |
327 | 327 |
| 328 gpu::GpuChannelEstablishFactory* |
| 329 ContentBrowserClient::GetGpuChannelEstablishFactory() { |
| 330 return nullptr; |
| 331 } |
| 332 |
328 bool ContentBrowserClient::AllowPepperSocketAPI( | 333 bool ContentBrowserClient::AllowPepperSocketAPI( |
329 BrowserContext* browser_context, | 334 BrowserContext* browser_context, |
330 const GURL& url, | 335 const GURL& url, |
331 bool private_api, | 336 bool private_api, |
332 const SocketPermissionRequest* params) { | 337 const SocketPermissionRequest* params) { |
333 return false; | 338 return false; |
334 } | 339 } |
335 | 340 |
336 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( | 341 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( |
337 BrowserContext* browser_context, | 342 BrowserContext* browser_context, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 #if defined(VIDEO_HOLE) | 428 #if defined(VIDEO_HOLE) |
424 ExternalVideoSurfaceContainer* | 429 ExternalVideoSurfaceContainer* |
425 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 430 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
426 WebContents* web_contents) { | 431 WebContents* web_contents) { |
427 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 432 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
428 return nullptr; | 433 return nullptr; |
429 } | 434 } |
430 #endif | 435 #endif |
431 | 436 |
432 } // namespace content | 437 } // namespace content |
OLD | NEW |