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_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "chrome/browser/drive/drive_service_interface.h" | 8 #include "chrome/browser/drive/drive_service_interface.h" |
9 #include "google_apis/drive/auth_service_interface.h" | 9 #include "google_apis/drive/auth_service_interface.h" |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const std::string& parent_resource_id, | 96 const std::string& parent_resource_id, |
97 const std::string& resource_id, | 97 const std::string& resource_id, |
98 const google_apis::EntryActionCallback& callback) OVERRIDE; | 98 const google_apis::EntryActionCallback& callback) OVERRIDE; |
99 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 99 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
100 const std::string& parent_resource_id, | 100 const std::string& parent_resource_id, |
101 const std::string& resource_id, | 101 const std::string& resource_id, |
102 const google_apis::EntryActionCallback& callback) OVERRIDE; | 102 const google_apis::EntryActionCallback& callback) OVERRIDE; |
103 virtual google_apis::CancelCallback AddNewDirectory( | 103 virtual google_apis::CancelCallback AddNewDirectory( |
104 const std::string& parent_resource_id, | 104 const std::string& parent_resource_id, |
105 const std::string& directory_title, | 105 const std::string& directory_title, |
| 106 const AddNewDirectoryOptions& options, |
106 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 107 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
107 virtual google_apis::CancelCallback InitiateUploadNewFile( | 108 virtual google_apis::CancelCallback InitiateUploadNewFile( |
108 const std::string& content_type, | 109 const std::string& content_type, |
109 int64 content_length, | 110 int64 content_length, |
110 const std::string& parent_resource_id, | 111 const std::string& parent_resource_id, |
111 const std::string& title, | 112 const std::string& title, |
112 const InitiateUploadNewFileOptions& options, | 113 const InitiateUploadNewFileOptions& options, |
113 const google_apis::InitiateUploadCallback& callback) OVERRIDE; | 114 const google_apis::InitiateUploadCallback& callback) OVERRIDE; |
114 virtual google_apis::CancelCallback InitiateUploadExistingFile( | 115 virtual google_apis::CancelCallback InitiateUploadExistingFile( |
115 const std::string& content_type, | 116 const std::string& content_type, |
(...skipping 25 matching lines...) Expand all Loading... |
141 const std::string& directory_resource_id, | 142 const std::string& directory_resource_id, |
142 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 143 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
143 virtual google_apis::CancelCallback GetRemainingResourceList( | 144 virtual google_apis::CancelCallback GetRemainingResourceList( |
144 const GURL& next_link, | 145 const GURL& next_link, |
145 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 146 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
146 }; | 147 }; |
147 | 148 |
148 } // namespace drive | 149 } // namespace drive |
149 | 150 |
150 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 151 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |