| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 } | 278 } |
| 279 | 279 |
| 280 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { | 280 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { |
| 281 return base::FilePath(); | 281 return base::FilePath(); |
| 282 } | 282 } |
| 283 | 283 |
| 284 std::string ContentBrowserClient::GetDefaultDownloadName() { | 284 std::string ContentBrowserClient::GetDefaultDownloadName() { |
| 285 return std::string(); | 285 return std::string(); |
| 286 } | 286 } |
| 287 | 287 |
| 288 base::FilePath ContentBrowserClient::GetUserDataDirectory() { |
| 289 return base::FilePath(); |
| 290 } |
| 291 |
| 288 BrowserPpapiHost* | 292 BrowserPpapiHost* |
| 289 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { | 293 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { |
| 290 return nullptr; | 294 return nullptr; |
| 291 } | 295 } |
| 292 | 296 |
| 293 bool ContentBrowserClient::AllowPepperSocketAPI( | 297 bool ContentBrowserClient::AllowPepperSocketAPI( |
| 294 BrowserContext* browser_context, | 298 BrowserContext* browser_context, |
| 295 const GURL& url, | 299 const GURL& url, |
| 296 bool private_api, | 300 bool private_api, |
| 297 const SocketPermissionRequest* params) { | 301 const SocketPermissionRequest* params) { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 #if defined(VIDEO_HOLE) | 367 #if defined(VIDEO_HOLE) |
| 364 ExternalVideoSurfaceContainer* | 368 ExternalVideoSurfaceContainer* |
| 365 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 369 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 366 WebContents* web_contents) { | 370 WebContents* web_contents) { |
| 367 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 371 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 368 return nullptr; | 372 return nullptr; |
| 369 } | 373 } |
| 370 #endif | 374 #endif |
| 371 | 375 |
| 372 } // namespace content | 376 } // namespace content |
| OLD | NEW |