| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual void RenameResource( | 85 virtual void RenameResource( |
| 86 const GURL& document_url, | 86 const GURL& document_url, |
| 87 const FilePath::StringType& new_name, | 87 const FilePath::StringType& new_name, |
| 88 const EntryActionCallback& callback) OVERRIDE; | 88 const EntryActionCallback& callback) OVERRIDE; |
| 89 virtual void AddResourceToDirectory( | 89 virtual void AddResourceToDirectory( |
| 90 const GURL& parent_content_url, | 90 const GURL& parent_content_url, |
| 91 const GURL& resource_url, | 91 const GURL& resource_url, |
| 92 const EntryActionCallback& callback) OVERRIDE; | 92 const EntryActionCallback& callback) OVERRIDE; |
| 93 virtual void RemoveResourceFromDirectory( | 93 virtual void RemoveResourceFromDirectory( |
| 94 const GURL& parent_content_url, | 94 const GURL& parent_content_url, |
| 95 const GURL& resource_url, | |
| 96 const std::string& resource_id, | 95 const std::string& resource_id, |
| 97 const EntryActionCallback& callback) OVERRIDE; | 96 const EntryActionCallback& callback) OVERRIDE; |
| 98 virtual void AddNewDirectory( | 97 virtual void AddNewDirectory( |
| 99 const GURL& parent_content_url, | 98 const GURL& parent_content_url, |
| 100 const FilePath::StringType& directory_name, | 99 const FilePath::StringType& directory_name, |
| 101 const GetDataCallback& callback) OVERRIDE; | 100 const GetDataCallback& callback) OVERRIDE; |
| 102 virtual void InitiateUpload( | 101 virtual void InitiateUpload( |
| 103 const InitiateUploadParams& params, | 102 const InitiateUploadParams& params, |
| 104 const InitiateUploadCallback& callback) OVERRIDE; | 103 const InitiateUploadCallback& callback) OVERRIDE; |
| 105 virtual void ResumeUpload( | 104 virtual void ResumeUpload( |
| (...skipping 22 matching lines...) Expand all Loading... |
| 128 // reference, as they may outlive this object. | 127 // reference, as they may outlive this object. |
| 129 GDataWapiUrlGenerator url_generator_; | 128 GDataWapiUrlGenerator url_generator_; |
| 130 const std::string custom_user_agent_; | 129 const std::string custom_user_agent_; |
| 131 | 130 |
| 132 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 131 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace google_apis | 134 } // namespace google_apis |
| 136 | 135 |
| 137 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 136 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| OLD | NEW |