| OLD | NEW |
| 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/gdata_wapi_requests.h" | 5 #include "google_apis/drive/gdata_wapi_requests.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/sequenced_task_runner.h" | 8 #include "base/sequenced_task_runner.h" |
| 9 #include "base/task_runner_util.h" | 9 #include "base/task_runner_util.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "chrome/browser/google_apis/gdata_wapi_parser.h" | 11 #include "google_apis/drive/gdata_wapi_parser.h" |
| 12 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" | 12 #include "google_apis/drive/gdata_wapi_url_generator.h" |
| 13 #include "chrome/browser/google_apis/request_sender.h" | 13 #include "google_apis/drive/request_sender.h" |
| 14 #include "chrome/browser/google_apis/request_util.h" | 14 #include "google_apis/drive/request_util.h" |
| 15 #include "third_party/libxml/chromium/libxml_utils.h" | 15 #include "third_party/libxml/chromium/libxml_utils.h" |
| 16 | 16 |
| 17 using net::URLFetcher; | 17 using net::URLFetcher; |
| 18 | 18 |
| 19 namespace google_apis { | 19 namespace google_apis { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 // Parses the JSON value to ResourceList. | 23 // Parses the JSON value to ResourceList. |
| 24 scoped_ptr<ResourceList> ParseResourceListOnBlockingPool( | 24 scoped_ptr<ResourceList> ParseResourceListOnBlockingPool( |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 get_content_callback, | 716 get_content_callback, |
| 717 progress_callback, | 717 progress_callback, |
| 718 url_generator.GenerateDownloadFileUrl(resource_id), | 718 url_generator.GenerateDownloadFileUrl(resource_id), |
| 719 output_file_path) { | 719 output_file_path) { |
| 720 } | 720 } |
| 721 | 721 |
| 722 DownloadFileRequest::~DownloadFileRequest() { | 722 DownloadFileRequest::~DownloadFileRequest() { |
| 723 } | 723 } |
| 724 | 724 |
| 725 } // namespace google_apis | 725 } // namespace google_apis |
| OLD | NEW |