| 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" |
| 11 #include "content/public/browser/geolocation_delegate.h" |
| 11 #include "content/public/browser/vpn_service_proxy.h" | 12 #include "content/public/browser/vpn_service_proxy.h" |
| 12 #include "content/public/common/sandbox_type.h" | 13 #include "content/public/common/sandbox_type.h" |
| 13 #include "media/base/cdm_factory.h" | 14 #include "media/base/cdm_factory.h" |
| 14 #include "storage/browser/quota/quota_manager.h" | 15 #include "storage/browser/quota/quota_manager.h" |
| 15 #include "ui/gfx/image/image_skia.h" | 16 #include "ui/gfx/image/image_skia.h" |
| 16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 17 | 18 |
| 18 namespace content { | 19 namespace content { |
| 19 | 20 |
| 20 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 21 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 301 |
| 301 SpeechRecognitionManagerDelegate* | 302 SpeechRecognitionManagerDelegate* |
| 302 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { | 303 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { |
| 303 return nullptr; | 304 return nullptr; |
| 304 } | 305 } |
| 305 | 306 |
| 306 net::NetLog* ContentBrowserClient::GetNetLog() { | 307 net::NetLog* ContentBrowserClient::GetNetLog() { |
| 307 return nullptr; | 308 return nullptr; |
| 308 } | 309 } |
| 309 | 310 |
| 310 GeolocationProvider::Delegate* | 311 GeolocationDelegate* ContentBrowserClient::CreateGeolocationDelegate() { |
| 311 ContentBrowserClient::CreateGeolocationDelegate() { | |
| 312 // We don't need to override anything, the default implementation is good. | 312 // We don't need to override anything, the default implementation is good. |
| 313 return nullptr; | 313 return nullptr; |
| 314 } | 314 } |
| 315 | 315 |
| 316 bool ContentBrowserClient::IsFastShutdownPossible() { | 316 bool ContentBrowserClient::IsFastShutdownPossible() { |
| 317 return true; | 317 return true; |
| 318 } | 318 } |
| 319 | 319 |
| 320 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { | 320 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { |
| 321 return base::FilePath(); | 321 return base::FilePath(); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 #if defined(VIDEO_HOLE) | 432 #if defined(VIDEO_HOLE) |
| 433 ExternalVideoSurfaceContainer* | 433 ExternalVideoSurfaceContainer* |
| 434 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 434 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 435 WebContents* web_contents) { | 435 WebContents* web_contents) { |
| 436 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 436 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 437 return nullptr; | 437 return nullptr; |
| 438 } | 438 } |
| 439 #endif | 439 #endif |
| 440 | 440 |
| 441 } // namespace content | 441 } // namespace content |
| OLD | NEW |