OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const google_apis::TeamDriveListCallback& callback); | 55 const google_apis::TeamDriveListCallback& callback); |
56 | 56 |
57 void GetRemainingFileList( | 57 void GetRemainingFileList( |
58 const GURL& next_link, | 58 const GURL& next_link, |
59 const google_apis::FileListCallback& callback); | 59 const google_apis::FileListCallback& callback); |
60 | 60 |
61 void GetFileResource( | 61 void GetFileResource( |
62 const std::string& resource_id, | 62 const std::string& resource_id, |
63 const google_apis::FileResourceCallback& callback); | 63 const google_apis::FileResourceCallback& callback); |
64 | 64 |
65 void GetFileListInDirectory( | 65 void GetFileListInDirectory(const std::string& directory_resource_id, |
66 const std::string& directory_resource_id, | 66 const std::string& team_drive_id, |
67 const google_apis::FileListCallback& callback); | 67 const google_apis::FileListCallback& callback); |
68 | 68 |
69 void RemoveResourceFromDirectory( | 69 void RemoveResourceFromDirectory( |
70 const std::string& parent_resource_id, | 70 const std::string& parent_resource_id, |
71 const std::string& resource_id, | 71 const std::string& resource_id, |
72 const google_apis::EntryActionCallback& callback); | 72 const google_apis::EntryActionCallback& callback); |
73 | 73 |
74 void SearchByTitle( | 74 void SearchByTitle( |
75 const std::string& title, | 75 const std::string& title, |
76 const std::string& directory_resource_id, | 76 const std::string& directory_resource_id, |
77 const google_apis::FileListCallback& callback); | 77 const google_apis::FileListCallback& callback); |
78 | 78 |
79 private: | 79 private: |
80 drive::DriveServiceInterface* drive_service_; | 80 drive::DriveServiceInterface* drive_service_; |
81 base::SequenceChecker sequece_checker_; | 81 base::SequenceChecker sequece_checker_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper); | 83 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace drive_backend | 86 } // namespace drive_backend |
87 } // namespace sync_file_system | 87 } // namespace sync_file_system |
88 | 88 |
89 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H
_ | 89 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H
_ |
OLD | NEW |