| 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_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual google_apis::CancelCallback GetAboutResource( | 85 virtual google_apis::CancelCallback GetAboutResource( |
| 86 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; | 86 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; |
| 87 virtual google_apis::CancelCallback GetAppList( | 87 virtual google_apis::CancelCallback GetAppList( |
| 88 const google_apis::GetAppListCallback& callback) OVERRIDE; | 88 const google_apis::GetAppListCallback& callback) OVERRIDE; |
| 89 virtual google_apis::CancelCallback DeleteResource( | 89 virtual google_apis::CancelCallback DeleteResource( |
| 90 const std::string& resource_id, | 90 const std::string& resource_id, |
| 91 const std::string& etag, | 91 const std::string& etag, |
| 92 const google_apis::EntryActionCallback& callback) OVERRIDE; | 92 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 93 virtual google_apis::CancelCallback DownloadFile( | 93 virtual google_apis::CancelCallback DownloadFile( |
| 94 const base::FilePath& local_cache_path, | 94 const base::FilePath& local_cache_path, |
| 95 const GURL& download_url, | 95 const std::string& resource_id, |
| 96 const google_apis::DownloadActionCallback& download_action_callback, | 96 const google_apis::DownloadActionCallback& download_action_callback, |
| 97 const google_apis::GetContentCallback& get_content_callback, | 97 const google_apis::GetContentCallback& get_content_callback, |
| 98 const google_apis::ProgressCallback& progress_callback) OVERRIDE; | 98 const google_apis::ProgressCallback& progress_callback) OVERRIDE; |
| 99 virtual google_apis::CancelCallback CopyResource( | 99 virtual google_apis::CancelCallback CopyResource( |
| 100 const std::string& resource_id, | 100 const std::string& resource_id, |
| 101 const std::string& parent_resource_id, | 101 const std::string& parent_resource_id, |
| 102 const std::string& new_name, | 102 const std::string& new_name, |
| 103 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 103 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
| 104 virtual google_apis::CancelCallback CopyHostedDocument( | 104 virtual google_apis::CancelCallback CopyHostedDocument( |
| 105 const std::string& resource_id, | 105 const std::string& resource_id, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 ObserverList<DriveServiceObserver> observers_; | 166 ObserverList<DriveServiceObserver> observers_; |
| 167 google_apis::DriveApiUrlGenerator url_generator_; | 167 google_apis::DriveApiUrlGenerator url_generator_; |
| 168 const std::string custom_user_agent_; | 168 const std::string custom_user_agent_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 170 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace drive | 173 } // namespace drive |
| 174 | 174 |
| 175 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 175 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |