| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const std::string& search_query, | 66 const std::string& search_query, |
| 67 bool shared_with_me, | 67 bool shared_with_me, |
| 68 const std::string& directory_resource_id, | 68 const std::string& directory_resource_id, |
| 69 const GetResourceListCallback& callback) OVERRIDE; | 69 const GetResourceListCallback& callback) OVERRIDE; |
| 70 virtual void GetResourceEntry( | 70 virtual void GetResourceEntry( |
| 71 const std::string& resource_id, | 71 const std::string& resource_id, |
| 72 const GetResourceEntryCallback& callback) OVERRIDE; | 72 const GetResourceEntryCallback& callback) OVERRIDE; |
| 73 | 73 |
| 74 virtual void GetAccountMetadata( | 74 virtual void GetAccountMetadata( |
| 75 const GetAccountMetadataCallback& callback) OVERRIDE; | 75 const GetAccountMetadataCallback& callback) OVERRIDE; |
| 76 virtual void GetAboutResource( |
| 77 const GetAboutResourceCallback& callback) OVERRIDE; |
| 76 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; | 78 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; |
| 77 virtual void DeleteResource( | 79 virtual void DeleteResource( |
| 78 const std::string& resource_id, | 80 const std::string& resource_id, |
| 79 const std::string& etag, | 81 const std::string& etag, |
| 80 const EntryActionCallback& callback) OVERRIDE; | 82 const EntryActionCallback& callback) OVERRIDE; |
| 81 virtual void DownloadFile( | 83 virtual void DownloadFile( |
| 82 const base::FilePath& virtual_path, | 84 const base::FilePath& virtual_path, |
| 83 const base::FilePath& local_cache_path, | 85 const base::FilePath& local_cache_path, |
| 84 const GURL& download_url, | 86 const GURL& download_url, |
| 85 const DownloadActionCallback& download_action_callback, | 87 const DownloadActionCallback& download_action_callback, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 ObserverList<DriveServiceObserver> observers_; | 169 ObserverList<DriveServiceObserver> observers_; |
| 168 DriveApiUrlGenerator url_generator_; | 170 DriveApiUrlGenerator url_generator_; |
| 169 const std::string custom_user_agent_; | 171 const std::string custom_user_agent_; |
| 170 | 172 |
| 171 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 173 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 172 }; | 174 }; |
| 173 | 175 |
| 174 } // namespace google_apis | 176 } // namespace google_apis |
| 175 | 177 |
| 176 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 178 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| OLD | NEW |