| 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_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual void RenameResource( | 88 virtual void RenameResource( |
| 89 const GURL& document_url, | 89 const GURL& document_url, |
| 90 const FilePath::StringType& new_name, | 90 const FilePath::StringType& new_name, |
| 91 const google_apis::EntryActionCallback& callback) OVERRIDE; | 91 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 92 virtual void AddResourceToDirectory( | 92 virtual void AddResourceToDirectory( |
| 93 const GURL& parent_content_url, | 93 const GURL& parent_content_url, |
| 94 const GURL& resource_url, | 94 const GURL& resource_url, |
| 95 const google_apis::EntryActionCallback& callback) OVERRIDE; | 95 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 96 virtual void RemoveResourceFromDirectory( | 96 virtual void RemoveResourceFromDirectory( |
| 97 const GURL& parent_content_url, | 97 const GURL& parent_content_url, |
| 98 const GURL& resource_url, | |
| 99 const std::string& resource_id, | 98 const std::string& resource_id, |
| 100 const google_apis::EntryActionCallback& callback) OVERRIDE; | 99 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 101 virtual void AddNewDirectory( | 100 virtual void AddNewDirectory( |
| 102 const GURL& parent_content_url, | 101 const GURL& parent_content_url, |
| 103 const FilePath::StringType& directory_name, | 102 const FilePath::StringType& directory_name, |
| 104 const google_apis::GetDataCallback& callback) OVERRIDE; | 103 const google_apis::GetDataCallback& callback) OVERRIDE; |
| 105 virtual void InitiateUpload( | 104 virtual void InitiateUpload( |
| 106 const google_apis::InitiateUploadParams& params, | 105 const google_apis::InitiateUploadParams& params, |
| 107 const google_apis::InitiateUploadCallback& callback) OVERRIDE; | 106 const google_apis::InitiateUploadCallback& callback) OVERRIDE; |
| 108 virtual void ResumeUpload( | 107 virtual void ResumeUpload( |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 scoped_ptr<google_apis::OperationRunner> runner_; | 147 scoped_ptr<google_apis::OperationRunner> runner_; |
| 149 ObserverList<google_apis::DriveServiceObserver> observers_; | 148 ObserverList<google_apis::DriveServiceObserver> observers_; |
| 150 const std::string custom_user_agent_; | 149 const std::string custom_user_agent_; |
| 151 | 150 |
| 152 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 151 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 } // namespace drive | 154 } // namespace drive |
| 156 | 155 |
| 157 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 156 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |