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

Unified Diff: chrome/browser/google_apis/gdata_util.h

Issue 11363234: google_apis: Remove PostBlockingPoolSequencedTask () and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove #include Created 8 years, 1 month 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
Index: chrome/browser/google_apis/gdata_util.h
diff --git a/chrome/browser/google_apis/gdata_util.h b/chrome/browser/google_apis/gdata_util.h
index 7f54b403725ba16524c77bff3154d2f58e058c37..40c35f393ac64572b1f9c55172ad74f1fce43982 100644
--- a/chrome/browser/google_apis/gdata_util.h
+++ b/chrome/browser/google_apis/gdata_util.h
@@ -41,36 +41,6 @@ std::string FormatTimeAsString(const base::Time& time);
// Formats a base::Time as an RFC 3339 date/time (in localtime).
std::string FormatTimeAsStringLocaltime(const base::Time& time);
-// Wrapper around BrowserThread::PostTask to post a task to the blocking
-// pool with the given sequence token.
-void PostBlockingPoolSequencedTask(
- const tracked_objects::Location& from_here,
- base::SequencedTaskRunner* blocking_task_runner,
- const base::Closure& task);
-
-// Similar to PostBlockingPoolSequencedTask() but this one takes a reply
-// callback that runs on the calling thread.
-void PostBlockingPoolSequencedTaskAndReply(
- const tracked_objects::Location& from_here,
- base::SequencedTaskRunner* blocking_task_runner,
- const base::Closure& request_task,
- const base::Closure& reply_task);
-
-// Similar to PostBlockingPoolSequencedTaskAndReply() but this one runs the
-// reply callback with the return value of the request task.
-template <typename ReturnType>
-void PostBlockingPoolSequencedTaskAndReplyWithResult(
- const tracked_objects::Location& from_here,
- base::SequencedTaskRunner* blocking_task_runner,
- const base::Callback<ReturnType(void)>& request_task,
- const base::Callback<void(ReturnType)>& reply_task) {
- const bool posted = base::PostTaskAndReplyWithResult(blocking_task_runner,
- from_here,
- request_task,
- reply_task);
- DCHECK(posted);
-}
-
} // namespace util
} // namespace google_apis
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/copy_operation.cc ('k') | chrome/browser/google_apis/gdata_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698