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

Unified Diff: content/browser/browser_thread_impl.cc

Issue 2853403002: Remove BrowserThread::PostBlockingPoolTask(AndReply). (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/browser/browser_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.cc
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc
index 8df7974b7ee91922119b4d1ab7292c8f0af0c68a..2cd2efffe6b70954551dabfae52d4055f269f6f3 100644
--- a/content/browser/browser_thread_impl.cc
+++ b/content/browser/browser_thread_impl.cc
@@ -532,23 +532,6 @@ bool BrowserThreadImpl::PostTaskHelper(
}
// static
-bool BrowserThread::PostBlockingPoolTask(
- const tracked_objects::Location& from_here,
- base::OnceClosure task) {
- return g_globals.Get().blocking_pool->PostWorkerTask(from_here,
- std::move(task));
-}
-
-// static
-bool BrowserThread::PostBlockingPoolTaskAndReply(
- const tracked_objects::Location& from_here,
- base::OnceClosure task,
- base::OnceClosure reply) {
- return g_globals.Get().blocking_pool->PostTaskAndReply(
- from_here, std::move(task), std::move(reply));
-}
-
-// static
bool BrowserThread::PostBlockingPoolSequencedTask(
const std::string& sequence_token_name,
const tracked_objects::Location& from_here,
« no previous file with comments | « no previous file | content/public/browser/browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698