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/navigation_ui_data.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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 const base::Callback<void(content::WebContents*)>& callback) { | 387 const base::Callback<void(content::WebContents*)>& callback) { |
387 callback.Run(nullptr); | 388 callback.Run(nullptr); |
388 } | 389 } |
389 | 390 |
390 ScopedVector<NavigationThrottle> | 391 ScopedVector<NavigationThrottle> |
391 ContentBrowserClient::CreateThrottlesForNavigation( | 392 ContentBrowserClient::CreateThrottlesForNavigation( |
392 NavigationHandle* navigation_handle) { | 393 NavigationHandle* navigation_handle) { |
393 return ScopedVector<NavigationThrottle>(); | 394 return ScopedVector<NavigationThrottle>(); |
394 } | 395 } |
395 | 396 |
| 397 std::unique_ptr<NavigationUIData> ContentBrowserClient::GetNavigationUIData( |
| 398 NavigationHandle* navigation_handle) { |
| 399 return nullptr; |
| 400 } |
| 401 |
396 #if defined(OS_WIN) | 402 #if defined(OS_WIN) |
397 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 403 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
398 return nullptr; | 404 return nullptr; |
399 } | 405 } |
400 | 406 |
401 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { | 407 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { |
402 return true; | 408 return true; |
403 } | 409 } |
404 | 410 |
405 base::string16 ContentBrowserClient::GetAppContainerSidForSandboxType( | 411 base::string16 ContentBrowserClient::GetAppContainerSidForSandboxType( |
(...skipping 13 matching lines...) Expand all Loading... |
419 return false; | 425 return false; |
420 } | 426 } |
421 #endif // defined(OS_WIN) | 427 #endif // defined(OS_WIN) |
422 | 428 |
423 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay( | 429 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay( |
424 const std::string& name) { | 430 const std::string& name) { |
425 return nullptr; | 431 return nullptr; |
426 } | 432 } |
427 | 433 |
428 } // namespace content | 434 } // namespace content |
OLD | NEW |