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 12 matching lines...) Expand all Loading... |
23 virtual void RemoveObserver(DriveServiceObserver* observer) OVERRIDE; | 23 virtual void RemoveObserver(DriveServiceObserver* observer) OVERRIDE; |
24 virtual bool CanSendRequest() const OVERRIDE; | 24 virtual bool CanSendRequest() const OVERRIDE; |
25 virtual ResourceIdCanonicalizer GetResourceIdCanonicalizer() const OVERRIDE; | 25 virtual ResourceIdCanonicalizer GetResourceIdCanonicalizer() const OVERRIDE; |
26 virtual bool HasAccessToken() const OVERRIDE; | 26 virtual bool HasAccessToken() const OVERRIDE; |
27 virtual void RequestAccessToken( | 27 virtual void RequestAccessToken( |
28 const google_apis::AuthStatusCallback& callback) OVERRIDE; | 28 const google_apis::AuthStatusCallback& callback) OVERRIDE; |
29 virtual bool HasRefreshToken() const OVERRIDE; | 29 virtual bool HasRefreshToken() const OVERRIDE; |
30 virtual void ClearAccessToken() OVERRIDE; | 30 virtual void ClearAccessToken() OVERRIDE; |
31 virtual void ClearRefreshToken() OVERRIDE; | 31 virtual void ClearRefreshToken() OVERRIDE; |
32 virtual std::string GetRootResourceId() const OVERRIDE; | 32 virtual std::string GetRootResourceId() const OVERRIDE; |
33 virtual google_apis::CancelCallback GetAllResourceList( | 33 virtual google_apis::CancelCallback GetAllFileList( |
34 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 34 const google_apis::FileListCallback& callback) OVERRIDE; |
35 virtual google_apis::CancelCallback GetResourceListInDirectory( | 35 virtual google_apis::CancelCallback GetFileListInDirectory( |
36 const std::string& directory_resource_id, | 36 const std::string& directory_resource_id, |
37 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 37 const google_apis::FileListCallback& callback) OVERRIDE; |
38 virtual google_apis::CancelCallback Search( | 38 virtual google_apis::CancelCallback Search( |
39 const std::string& search_query, | 39 const std::string& search_query, |
40 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 40 const google_apis::FileListCallback& callback) OVERRIDE; |
41 virtual google_apis::CancelCallback SearchByTitle( | 41 virtual google_apis::CancelCallback SearchByTitle( |
42 const std::string& title, | 42 const std::string& title, |
43 const std::string& directory_resource_id, | 43 const std::string& directory_resource_id, |
44 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 44 const google_apis::FileListCallback& callback) OVERRIDE; |
45 virtual google_apis::CancelCallback GetChangeList( | 45 virtual google_apis::CancelCallback GetChangeList( |
46 int64 start_changestamp, | 46 int64 start_changestamp, |
47 const google_apis::ChangeListCallback& callback) OVERRIDE; | 47 const google_apis::ChangeListCallback& callback) OVERRIDE; |
48 virtual google_apis::CancelCallback GetRemainingChangeList( | 48 virtual google_apis::CancelCallback GetRemainingChangeList( |
49 const GURL& next_link, | 49 const GURL& next_link, |
50 const google_apis::ChangeListCallback& callback) OVERRIDE; | 50 const google_apis::ChangeListCallback& callback) OVERRIDE; |
51 virtual google_apis::CancelCallback GetRemainingFileList( | 51 virtual google_apis::CancelCallback GetRemainingFileList( |
52 const GURL& next_link, | 52 const GURL& next_link, |
53 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 53 const google_apis::FileListCallback& callback) OVERRIDE; |
54 virtual google_apis::CancelCallback GetResourceEntry( | 54 virtual google_apis::CancelCallback GetResourceEntry( |
55 const std::string& resource_id, | 55 const std::string& resource_id, |
56 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 56 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
57 virtual google_apis::CancelCallback GetShareUrl( | 57 virtual google_apis::CancelCallback GetShareUrl( |
58 const std::string& resource_id, | 58 const std::string& resource_id, |
59 const GURL& embed_origin, | 59 const GURL& embed_origin, |
60 const google_apis::GetShareUrlCallback& callback) OVERRIDE; | 60 const google_apis::GetShareUrlCallback& callback) OVERRIDE; |
61 virtual google_apis::CancelCallback GetAboutResource( | 61 virtual google_apis::CancelCallback GetAboutResource( |
62 const google_apis::AboutResourceCallback& callback) OVERRIDE; | 62 const google_apis::AboutResourceCallback& callback) OVERRIDE; |
63 virtual google_apis::CancelCallback GetAppList( | 63 virtual google_apis::CancelCallback GetAppList( |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual google_apis::CancelCallback AddPermission( | 141 virtual google_apis::CancelCallback AddPermission( |
142 const std::string& resource_id, | 142 const std::string& resource_id, |
143 const std::string& email, | 143 const std::string& email, |
144 google_apis::drive::PermissionRole role, | 144 google_apis::drive::PermissionRole role, |
145 const google_apis::EntryActionCallback& callback) OVERRIDE; | 145 const google_apis::EntryActionCallback& callback) OVERRIDE; |
146 }; | 146 }; |
147 | 147 |
148 } // namespace drive | 148 } // namespace drive |
149 | 149 |
150 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 150 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |