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

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

Issue 2637843002: Migrate base::TaskRunner from Closure to OnceClosure (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/child/worker_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <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"
(...skipping 13 matching lines...) Expand all
24 namespace content { 24 namespace content {
25 25
26 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( 26 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts(
27 const MainFunctionParams& parameters) { 27 const MainFunctionParams& parameters) {
28 return nullptr; 28 return nullptr;
29 } 29 }
30 30
31 void ContentBrowserClient::PostAfterStartupTask( 31 void ContentBrowserClient::PostAfterStartupTask(
32 const tracked_objects::Location& from_here, 32 const tracked_objects::Location& from_here,
33 const scoped_refptr<base::TaskRunner>& task_runner, 33 const scoped_refptr<base::TaskRunner>& task_runner,
34 base::Closure task) { 34 base::OnceClosure task) {
35 task_runner->PostTask(from_here, std::move(task)); 35 task_runner->PostTask(from_here, std::move(task));
36 } 36 }
37 37
38 bool ContentBrowserClient::IsBrowserStartupComplete() { 38 bool ContentBrowserClient::IsBrowserStartupComplete() {
39 return true; 39 return true;
40 } 40 }
41 41
42 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( 42 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate(
43 WebContents* web_contents) { 43 WebContents* web_contents) {
44 return nullptr; 44 return nullptr;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { 456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() {
457 return false; 457 return false;
458 } 458 }
459 459
460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
461 return false; 461 return false;
462 } 462 }
463 463
464 } // namespace content 464 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/child/worker_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698