Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2618393003: Remove ScopedVector from ContentBrowserClient. (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/test/test_file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698