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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 } | 284 } |
285 | 285 |
286 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { | 286 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { |
287 return base::FilePath(); | 287 return base::FilePath(); |
288 } | 288 } |
289 | 289 |
290 std::string ContentBrowserClient::GetDefaultDownloadName() { | 290 std::string ContentBrowserClient::GetDefaultDownloadName() { |
291 return std::string(); | 291 return std::string(); |
292 } | 292 } |
293 | 293 |
| 294 base::FilePath ContentBrowserClient::GetShaderDiskCacheDirectory() { |
| 295 return base::FilePath(); |
| 296 } |
| 297 |
294 BrowserPpapiHost* | 298 BrowserPpapiHost* |
295 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { | 299 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { |
296 return nullptr; | 300 return nullptr; |
297 } | 301 } |
298 | 302 |
299 bool ContentBrowserClient::AllowPepperSocketAPI( | 303 bool ContentBrowserClient::AllowPepperSocketAPI( |
300 BrowserContext* browser_context, | 304 BrowserContext* browser_context, |
301 const GURL& url, | 305 const GURL& url, |
302 bool private_api, | 306 bool private_api, |
303 const SocketPermissionRequest* params) { | 307 const SocketPermissionRequest* params) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 #if defined(VIDEO_HOLE) | 373 #if defined(VIDEO_HOLE) |
370 ExternalVideoSurfaceContainer* | 374 ExternalVideoSurfaceContainer* |
371 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 375 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
372 WebContents* web_contents) { | 376 WebContents* web_contents) { |
373 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 377 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
374 return nullptr; | 378 return nullptr; |
375 } | 379 } |
376 #endif | 380 #endif |
377 | 381 |
378 } // namespace content | 382 } // namespace content |
OLD | NEW |