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_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual bool HasRefreshToken() const OVERRIDE; | 60 virtual bool HasRefreshToken() const OVERRIDE; |
61 virtual void GetResourceList( | 61 virtual void GetResourceList( |
62 const GURL& feed_url, | 62 const GURL& feed_url, |
63 int64 start_changestamp, | 63 int64 start_changestamp, |
64 const std::string& search_query, | 64 const std::string& search_query, |
65 bool shared_with_me, | 65 bool shared_with_me, |
66 const std::string& directory_resource_id, | 66 const std::string& directory_resource_id, |
67 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 67 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
68 virtual void GetResourceEntry( | 68 virtual void GetResourceEntry( |
69 const std::string& resource_id, | 69 const std::string& resource_id, |
70 const google_apis::GetDataCallback& callback) OVERRIDE; | 70 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
71 | 71 |
72 virtual void GetAccountMetadata( | 72 virtual void GetAccountMetadata( |
73 const google_apis::GetDataCallback& callback) OVERRIDE; | 73 const google_apis::GetDataCallback& callback) OVERRIDE; |
74 virtual void GetApplicationInfo( | 74 virtual void GetApplicationInfo( |
75 const google_apis::GetDataCallback& callback) OVERRIDE; | 75 const google_apis::GetDataCallback& callback) OVERRIDE; |
76 virtual void DeleteResource( | 76 virtual void DeleteResource( |
77 const GURL& edit_url, | 77 const GURL& edit_url, |
78 const google_apis::EntryActionCallback& callback) OVERRIDE; | 78 const google_apis::EntryActionCallback& callback) OVERRIDE; |
79 virtual void DownloadHostedDocument( | 79 virtual void DownloadHostedDocument( |
80 const FilePath& virtual_path, | 80 const FilePath& virtual_path, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 scoped_ptr<google_apis::OperationRunner> runner_; | 155 scoped_ptr<google_apis::OperationRunner> runner_; |
156 ObserverList<google_apis::DriveServiceObserver> observers_; | 156 ObserverList<google_apis::DriveServiceObserver> observers_; |
157 const std::string custom_user_agent_; | 157 const std::string custom_user_agent_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 159 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace drive | 162 } // namespace drive |
163 | 163 |
164 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ | 164 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_API_SERVICE_H_ |
OLD | NEW |