| 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 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_REQUESTS_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_API_REQUESTS_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_REQUESTS_H_ | 6 #define GOOGLE_APIS_DRIVE_DRIVE_API_REQUESTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "chrome/browser/google_apis/base_requests.h" | 12 #include "google_apis/drive/base_requests.h" |
| 13 #include "chrome/browser/google_apis/drive_api_url_generator.h" | 13 #include "google_apis/drive/drive_api_url_generator.h" |
| 14 #include "chrome/browser/google_apis/drive_common_callbacks.h" | 14 #include "google_apis/drive/drive_common_callbacks.h" |
| 15 | 15 |
| 16 namespace google_apis { | 16 namespace google_apis { |
| 17 | 17 |
| 18 class ChangeList; | 18 class ChangeList; |
| 19 class FileResource; | 19 class FileResource; |
| 20 class FileList; | 20 class FileList; |
| 21 | 21 |
| 22 // Callback used for requests that the server returns FileResource data | 22 // Callback used for requests that the server returns FileResource data |
| 23 // formatted into JSON value. | 23 // formatted into JSON value. |
| 24 typedef base::Callback<void(GDataErrorCode error, | 24 typedef base::Callback<void(GDataErrorCode error, |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 const GetContentCallback& get_content_callback, | 692 const GetContentCallback& get_content_callback, |
| 693 const ProgressCallback& progress_callback); | 693 const ProgressCallback& progress_callback); |
| 694 virtual ~DownloadFileRequest(); | 694 virtual ~DownloadFileRequest(); |
| 695 | 695 |
| 696 DISALLOW_COPY_AND_ASSIGN(DownloadFileRequest); | 696 DISALLOW_COPY_AND_ASSIGN(DownloadFileRequest); |
| 697 }; | 697 }; |
| 698 | 698 |
| 699 } // namespace drive | 699 } // namespace drive |
| 700 } // namespace google_apis | 700 } // namespace google_apis |
| 701 | 701 |
| 702 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_REQUESTS_H_ | 702 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_REQUESTS_H_ |
| OLD | NEW |