| 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_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; | 93 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; |
| 94 virtual void DeleteResource( | 94 virtual void DeleteResource( |
| 95 const std::string& resource_id, | 95 const std::string& resource_id, |
| 96 const std::string& etag, | 96 const std::string& etag, |
| 97 const EntryActionCallback& callback) OVERRIDE; | 97 const EntryActionCallback& callback) OVERRIDE; |
| 98 virtual void DownloadFile( | 98 virtual void DownloadFile( |
| 99 const base::FilePath& virtual_path, | 99 const base::FilePath& virtual_path, |
| 100 const base::FilePath& local_cache_path, | 100 const base::FilePath& local_cache_path, |
| 101 const GURL& download_url, | 101 const GURL& download_url, |
| 102 const DownloadActionCallback& download_action_callback, | 102 const DownloadActionCallback& download_action_callback, |
| 103 const GetContentCallback& get_content_callback) OVERRIDE; | 103 const GetContentCallback& get_content_callback, |
| 104 const ProgressCallback& progress_callback) OVERRIDE; |
| 104 virtual void CopyHostedDocument( | 105 virtual void CopyHostedDocument( |
| 105 const std::string& resource_id, | 106 const std::string& resource_id, |
| 106 const std::string& new_name, | 107 const std::string& new_name, |
| 107 const GetResourceEntryCallback& callback) OVERRIDE; | 108 const GetResourceEntryCallback& callback) OVERRIDE; |
| 108 virtual void RenameResource( | 109 virtual void RenameResource( |
| 109 const std::string& resource_id, | 110 const std::string& resource_id, |
| 110 const std::string& new_name, | 111 const std::string& new_name, |
| 111 const EntryActionCallback& callback) OVERRIDE; | 112 const EntryActionCallback& callback) OVERRIDE; |
| 112 virtual void AddResourceToDirectory( | 113 virtual void AddResourceToDirectory( |
| 113 const std::string& parent_resource_id, | 114 const std::string& parent_resource_id, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 DriveApiUrlGenerator url_generator_; | 175 DriveApiUrlGenerator url_generator_; |
| 175 GDataWapiUrlGenerator wapi_url_generator_; | 176 GDataWapiUrlGenerator wapi_url_generator_; |
| 176 const std::string custom_user_agent_; | 177 const std::string custom_user_agent_; |
| 177 | 178 |
| 178 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 179 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 179 }; | 180 }; |
| 180 | 181 |
| 181 } // namespace google_apis | 182 } // namespace google_apis |
| 182 | 183 |
| 183 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 184 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| OLD | NEW |