OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCAL_DISCOVERY_PRIVET_HTTP_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 virtual scoped_ptr<PrivetRegisterOperation> CreateRegisterOperation( | 142 virtual scoped_ptr<PrivetRegisterOperation> CreateRegisterOperation( |
143 const std::string& user, | 143 const std::string& user, |
144 PrivetRegisterOperation::Delegate* delegate) = 0; | 144 PrivetRegisterOperation::Delegate* delegate) = 0; |
145 virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation( | 145 virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation( |
146 const PrivetJSONOperation::ResultCallback& callback) = 0; | 146 const PrivetJSONOperation::ResultCallback& callback) = 0; |
147 virtual scoped_ptr<PrivetJSONOperation> CreateCapabilitiesOperation( | 147 virtual scoped_ptr<PrivetJSONOperation> CreateCapabilitiesOperation( |
148 const PrivetJSONOperation::ResultCallback& callback) = 0; | 148 const PrivetJSONOperation::ResultCallback& callback) = 0; |
149 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation( | 149 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation( |
150 PrivetLocalPrintOperation::Delegate* delegate) = 0; | 150 PrivetLocalPrintOperation::Delegate* delegate) = 0; |
| 151 virtual scoped_ptr<PrivetJSONOperation> CreateStorageListOperation( |
| 152 const std::string& path, |
| 153 const PrivetJSONOperation::ResultCallback& callback) = 0; |
151 | 154 |
152 // A name for the HTTP client, e.g. the device name for the privet device. | 155 // A name for the HTTP client, e.g. the device name for the privet device. |
153 virtual const std::string& GetName() = 0; | 156 virtual const std::string& GetName() = 0; |
154 }; | 157 }; |
155 | 158 |
156 } // namespace local_discovery | 159 } // namespace local_discovery |
157 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ | 160 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ |
OLD | NEW |