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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/public/browser/client_certificate_delegate.h" | 13 #include "content/public/browser/client_certificate_delegate.h" |
14 #include "content/public/browser/memory_coordinator_delegate.h" | 14 #include "content/public/browser/memory_coordinator_delegate.h" |
15 #include "content/public/browser/navigation_ui_data.h" | 15 #include "content/public/browser/navigation_ui_data.h" |
16 #include "content/public/browser/vpn_service_proxy.h" | 16 #include "content/public/browser/vpn_service_proxy.h" |
17 #include "content/public/common/sandbox_type.h" | 17 #include "content/public/common/sandbox_type.h" |
| 18 #include "content/public/common/url_loader_throttle.h" |
18 #include "media/audio/audio_manager.h" | 19 #include "media/audio/audio_manager.h" |
19 #include "media/base/cdm_factory.h" | 20 #include "media/base/cdm_factory.h" |
20 #include "media/media_features.h" | 21 #include "media/media_features.h" |
21 #include "net/cert/x509_certificate.h" | 22 #include "net/cert/x509_certificate.h" |
22 #include "storage/browser/quota/quota_manager.h" | 23 #include "storage/browser/quota/quota_manager.h" |
23 #include "ui/gfx/image/image_skia.h" | 24 #include "ui/gfx/image/image_skia.h" |
24 #include "url/gurl.h" | 25 #include "url/gurl.h" |
25 | 26 |
26 namespace content { | 27 namespace content { |
27 | 28 |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 | 453 |
453 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 454 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
454 return nullptr; | 455 return nullptr; |
455 } | 456 } |
456 | 457 |
457 std::unique_ptr<base::TaskScheduler::InitParams> | 458 std::unique_ptr<base::TaskScheduler::InitParams> |
458 ContentBrowserClient::GetTaskSchedulerInitParams() { | 459 ContentBrowserClient::GetTaskSchedulerInitParams() { |
459 return nullptr; | 460 return nullptr; |
460 } | 461 } |
461 | 462 |
| 463 std::vector<std::unique_ptr<URLLoaderThrottle>> |
| 464 ContentBrowserClient::CreateURLLoaderThrottles( |
| 465 const base::Callback<WebContents*()>& wc_getter) { |
| 466 return std::vector<std::unique_ptr<URLLoaderThrottle>>(); |
| 467 } |
| 468 |
462 } // namespace content | 469 } // namespace content |
OLD | NEW |