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

Side by Side Diff: chrome/browser/google_apis/drive_api_requests.cc

Issue 63923002: net: Use SequencedTaskRunner for URLFetcherResponseWriter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add include Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 "chrome/browser/google_apis/drive_api_requests.h" 5 #include "chrome/browser/google_apis/drive_api_requests.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/sequenced_task_runner.h"
11 #include "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 #include "chrome/browser/google_apis/drive_api_parser.h" 14 #include "chrome/browser/google_apis/drive_api_parser.h"
14 #include "chrome/browser/google_apis/request_sender.h" 15 #include "chrome/browser/google_apis/request_sender.h"
15 #include "chrome/browser/google_apis/request_util.h" 16 #include "chrome/browser/google_apis/request_util.h"
16 #include "chrome/browser/google_apis/time_util.h" 17 #include "chrome/browser/google_apis/time_util.h"
17 #include "net/base/url_util.h" 18 #include "net/base/url_util.h"
18 19
19 namespace google_apis { 20 namespace google_apis {
20 namespace { 21 namespace {
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 progress_callback, 706 progress_callback,
706 url_generator.GenerateDownloadFileUrl(resource_id), 707 url_generator.GenerateDownloadFileUrl(resource_id),
707 output_file_path) { 708 output_file_path) {
708 } 709 }
709 710
710 DownloadFileRequest::~DownloadFileRequest() { 711 DownloadFileRequest::~DownloadFileRequest() {
711 } 712 }
712 713
713 } // namespace drive 714 } // namespace drive
714 } // namespace google_apis 715 } // namespace google_apis
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698