| 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" |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 return nullptr; | 385 return nullptr; |
| 386 } | 386 } |
| 387 | 387 |
| 388 void ContentBrowserClient::OpenURL( | 388 void ContentBrowserClient::OpenURL( |
| 389 content::BrowserContext* browser_context, | 389 content::BrowserContext* browser_context, |
| 390 const content::OpenURLParams& params, | 390 const content::OpenURLParams& params, |
| 391 const base::Callback<void(content::WebContents*)>& callback) { | 391 const base::Callback<void(content::WebContents*)>& callback) { |
| 392 callback.Run(nullptr); | 392 callback.Run(nullptr); |
| 393 } | 393 } |
| 394 | 394 |
| 395 ScopedVector<NavigationThrottle> | 395 std::vector<std::unique_ptr<NavigationThrottle>> |
| 396 ContentBrowserClient::CreateThrottlesForNavigation( | 396 ContentBrowserClient::CreateThrottlesForNavigation( |
| 397 NavigationHandle* navigation_handle) { | 397 NavigationHandle* navigation_handle) { |
| 398 return ScopedVector<NavigationThrottle>(); | 398 return std::vector<std::unique_ptr<NavigationThrottle>>(); |
| 399 } | 399 } |
| 400 | 400 |
| 401 std::unique_ptr<NavigationUIData> ContentBrowserClient::GetNavigationUIData( | 401 std::unique_ptr<NavigationUIData> ContentBrowserClient::GetNavigationUIData( |
| 402 NavigationHandle* navigation_handle) { | 402 NavigationHandle* navigation_handle) { |
| 403 return nullptr; | 403 return nullptr; |
| 404 } | 404 } |
| 405 | 405 |
| 406 #if defined(OS_WIN) | 406 #if defined(OS_WIN) |
| 407 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { | 407 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { |
| 408 return true; | 408 return true; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 | 440 |
| 441 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 441 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 442 return false; | 442 return false; |
| 443 } | 443 } |
| 444 | 444 |
| 445 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 445 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 446 return false; | 446 return false; |
| 447 } | 447 } |
| 448 | 448 |
| 449 } // namespace content | 449 } // namespace content |
| OLD | NEW |