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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const std::string& new_title, | 80 const std::string& new_title, |
81 const base::Time& last_modified, | 81 const base::Time& last_modified, |
82 const google_apis::FileResourceCallback& callback) OVERRIDE; | 82 const google_apis::FileResourceCallback& callback) OVERRIDE; |
83 virtual google_apis::CancelCallback UpdateResource( | 83 virtual google_apis::CancelCallback UpdateResource( |
84 const std::string& resource_id, | 84 const std::string& resource_id, |
85 const std::string& parent_resource_id, | 85 const std::string& parent_resource_id, |
86 const std::string& new_title, | 86 const std::string& new_title, |
87 const base::Time& last_modified, | 87 const base::Time& last_modified, |
88 const base::Time& last_viewed_by_me, | 88 const base::Time& last_viewed_by_me, |
89 const google_apis::FileResourceCallback& callback) OVERRIDE; | 89 const google_apis::FileResourceCallback& callback) OVERRIDE; |
90 virtual google_apis::CancelCallback RenameResource( | |
91 const std::string& resource_id, | |
92 const std::string& new_title, | |
93 const google_apis::EntryActionCallback& callback) OVERRIDE; | |
94 virtual google_apis::CancelCallback AddResourceToDirectory( | 90 virtual google_apis::CancelCallback AddResourceToDirectory( |
95 const std::string& parent_resource_id, | 91 const std::string& parent_resource_id, |
96 const std::string& resource_id, | 92 const std::string& resource_id, |
97 const google_apis::EntryActionCallback& callback) OVERRIDE; | 93 const google_apis::EntryActionCallback& callback) OVERRIDE; |
98 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 94 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
99 const std::string& parent_resource_id, | 95 const std::string& parent_resource_id, |
100 const std::string& resource_id, | 96 const std::string& resource_id, |
101 const google_apis::EntryActionCallback& callback) OVERRIDE; | 97 const google_apis::EntryActionCallback& callback) OVERRIDE; |
102 virtual google_apis::CancelCallback AddNewDirectory( | 98 virtual google_apis::CancelCallback AddNewDirectory( |
103 const std::string& parent_resource_id, | 99 const std::string& parent_resource_id, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 virtual google_apis::CancelCallback AddPermission( | 136 virtual google_apis::CancelCallback AddPermission( |
141 const std::string& resource_id, | 137 const std::string& resource_id, |
142 const std::string& email, | 138 const std::string& email, |
143 google_apis::drive::PermissionRole role, | 139 google_apis::drive::PermissionRole role, |
144 const google_apis::EntryActionCallback& callback) OVERRIDE; | 140 const google_apis::EntryActionCallback& callback) OVERRIDE; |
145 }; | 141 }; |
146 | 142 |
147 } // namespace drive | 143 } // namespace drive |
148 | 144 |
149 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 145 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |