| 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
|
|
|
|
|