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_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void GetDocumentEntry | 61 virtual void GetDocumentEntry |
62 (const std::string& resource_id, | 62 (const std::string& resource_id, |
63 const gdata::GetDataCallback& callback) OVERRIDE; | 63 const gdata::GetDataCallback& callback) OVERRIDE; |
64 | 64 |
65 virtual void GetAccountMetadata( | 65 virtual void GetAccountMetadata( |
66 const gdata::GetDataCallback& callback) OVERRIDE; | 66 const gdata::GetDataCallback& callback) OVERRIDE; |
67 virtual void GetApplicationInfo( | 67 virtual void GetApplicationInfo( |
68 const gdata::GetDataCallback& callback) OVERRIDE; | 68 const gdata::GetDataCallback& callback) OVERRIDE; |
69 virtual void DeleteDocument( | 69 virtual void DeleteDocument( |
70 const GURL& document_url, | 70 const GURL& document_url, |
| 71 const std::string& etag, |
71 const gdata::EntryActionCallback& callback) OVERRIDE; | 72 const gdata::EntryActionCallback& callback) OVERRIDE; |
72 virtual void DownloadDocument( | 73 virtual void DownloadDocument( |
73 const FilePath& virtual_path, | 74 const FilePath& virtual_path, |
74 const FilePath& local_cache_path, | 75 const FilePath& local_cache_path, |
75 const GURL& content_url, | 76 const GURL& content_url, |
76 DocumentExportFormat format, | 77 DocumentExportFormat format, |
| 78 const std::string& etag, |
77 const gdata::DownloadActionCallback& callback) OVERRIDE; | 79 const gdata::DownloadActionCallback& callback) OVERRIDE; |
78 virtual void DownloadFile( | 80 virtual void DownloadFile( |
79 const FilePath& virtual_path, | 81 const FilePath& virtual_path, |
80 const FilePath& local_cache_path, | 82 const FilePath& local_cache_path, |
81 const GURL& content_url, | 83 const GURL& content_url, |
| 84 const std::string& etag, |
82 const gdata::DownloadActionCallback& download_action_callback, | 85 const gdata::DownloadActionCallback& download_action_callback, |
83 const gdata::GetContentCallback& get_content_callback) OVERRIDE; | 86 const gdata::GetContentCallback& get_content_callback) OVERRIDE; |
84 virtual void CopyDocument(const std::string& resource_id, | 87 virtual void CopyDocument(const std::string& resource_id, |
85 const FilePath::StringType& new_name, | 88 const FilePath::StringType& new_name, |
86 const gdata::GetDataCallback& callback) OVERRIDE; | 89 const gdata::GetDataCallback& callback) OVERRIDE; |
87 virtual void RenameResource( | 90 virtual void RenameResource( |
88 const GURL& document_url, | 91 const GURL& document_url, |
89 const FilePath::StringType& new_name, | 92 const FilePath::StringType& new_name, |
90 const gdata::EntryActionCallback& callback) OVERRIDE; | 93 const gdata::EntryActionCallback& callback) OVERRIDE; |
91 virtual void AddResourceToDirectory( | 94 virtual void AddResourceToDirectory( |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 127 |
125 scoped_ptr<gdata::OperationRunner> runner_; | 128 scoped_ptr<gdata::OperationRunner> runner_; |
126 ObserverList<DriveServiceObserver> observers_; | 129 ObserverList<DriveServiceObserver> observers_; |
127 | 130 |
128 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 131 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
129 }; | 132 }; |
130 | 133 |
131 } // namespace drive | 134 } // namespace drive |
132 | 135 |
133 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 136 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |