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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 const std::string& resource_id, | 86 const std::string& resource_id, |
87 const std::string& parent_resource_id, | 87 const std::string& parent_resource_id, |
88 const std::string& new_title, | 88 const std::string& new_title, |
89 const base::Time& last_modified, | 89 const base::Time& last_modified, |
90 const base::Time& last_viewed_by_me, | 90 const base::Time& last_viewed_by_me, |
91 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 91 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
92 virtual google_apis::CancelCallback RenameResource( | 92 virtual google_apis::CancelCallback RenameResource( |
93 const std::string& resource_id, | 93 const std::string& resource_id, |
94 const std::string& new_title, | 94 const std::string& new_title, |
95 const google_apis::EntryActionCallback& callback) OVERRIDE; | 95 const google_apis::EntryActionCallback& callback) OVERRIDE; |
96 virtual google_apis::CancelCallback TouchResource( | |
97 const std::string& resource_id, | |
98 const base::Time& modified_date, | |
99 const base::Time& last_viewed_by_me_date, | |
100 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | |
101 virtual google_apis::CancelCallback AddResourceToDirectory( | 96 virtual google_apis::CancelCallback AddResourceToDirectory( |
102 const std::string& parent_resource_id, | 97 const std::string& parent_resource_id, |
103 const std::string& resource_id, | 98 const std::string& resource_id, |
104 const google_apis::EntryActionCallback& callback) OVERRIDE; | 99 const google_apis::EntryActionCallback& callback) OVERRIDE; |
105 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 100 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
106 const std::string& parent_resource_id, | 101 const std::string& parent_resource_id, |
107 const std::string& resource_id, | 102 const std::string& resource_id, |
108 const google_apis::EntryActionCallback& callback) OVERRIDE; | 103 const google_apis::EntryActionCallback& callback) OVERRIDE; |
109 virtual google_apis::CancelCallback AddNewDirectory( | 104 virtual google_apis::CancelCallback AddNewDirectory( |
110 const std::string& parent_resource_id, | 105 const std::string& parent_resource_id, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const std::string& directory_resource_id, | 138 const std::string& directory_resource_id, |
144 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 139 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
145 virtual google_apis::CancelCallback GetRemainingResourceList( | 140 virtual google_apis::CancelCallback GetRemainingResourceList( |
146 const GURL& next_link, | 141 const GURL& next_link, |
147 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 142 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
148 }; | 143 }; |
149 | 144 |
150 } // namespace drive | 145 } // namespace drive |
151 | 146 |
152 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 147 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |