| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 return nullptr; | 379 return nullptr; |
| 380 } | 380 } |
| 381 | 381 |
| 382 void ContentBrowserClient::OpenURL( | 382 void ContentBrowserClient::OpenURL( |
| 383 content::BrowserContext* browser_context, | 383 content::BrowserContext* browser_context, |
| 384 const content::OpenURLParams& params, | 384 const content::OpenURLParams& params, |
| 385 const base::Callback<void(content::WebContents*)>& callback) { | 385 const base::Callback<void(content::WebContents*)>& callback) { |
| 386 callback.Run(nullptr); | 386 callback.Run(nullptr); |
| 387 } | 387 } |
| 388 | 388 |
| 389 ScopedVector<NavigationThrottle> | 389 std::vector<std::unique_ptr<NavigationThrottle>> |
| 390 ContentBrowserClient::CreateThrottlesForNavigation( | 390 ContentBrowserClient::CreateThrottlesForNavigation( |
| 391 NavigationHandle* navigation_handle) { | 391 NavigationHandle* navigation_handle) { |
| 392 return ScopedVector<NavigationThrottle>(); | 392 return std::vector<std::unique_ptr<NavigationThrottle>>(); |
| 393 } | 393 } |
| 394 | 394 |
| 395 std::unique_ptr<NavigationUIData> ContentBrowserClient::GetNavigationUIData( | 395 std::unique_ptr<NavigationUIData> ContentBrowserClient::GetNavigationUIData( |
| 396 NavigationHandle* navigation_handle) { | 396 NavigationHandle* navigation_handle) { |
| 397 return nullptr; | 397 return nullptr; |
| 398 } | 398 } |
| 399 | 399 |
| 400 #if defined(OS_WIN) | 400 #if defined(OS_WIN) |
| 401 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { | 401 bool ContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy) { |
| 402 return true; | 402 return true; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 434 |
| 435 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 435 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 436 return false; | 436 return false; |
| 437 } | 437 } |
| 438 | 438 |
| 439 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 439 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 440 return false; | 440 return false; |
| 441 } | 441 } |
| 442 | 442 |
| 443 } // namespace content | 443 } // namespace content |
| OLD | NEW |