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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 virtual const std::string& GetName() OVERRIDE; | 324 virtual const std::string& GetName() OVERRIDE; |
325 virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation( | 325 virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation( |
326 const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; | 326 const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; |
327 virtual scoped_ptr<PrivetRegisterOperation> CreateRegisterOperation( | 327 virtual scoped_ptr<PrivetRegisterOperation> CreateRegisterOperation( |
328 const std::string& user, | 328 const std::string& user, |
329 PrivetRegisterOperation::Delegate* delegate) OVERRIDE; | 329 PrivetRegisterOperation::Delegate* delegate) OVERRIDE; |
330 virtual scoped_ptr<PrivetJSONOperation> CreateCapabilitiesOperation( | 330 virtual scoped_ptr<PrivetJSONOperation> CreateCapabilitiesOperation( |
331 const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; | 331 const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; |
332 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation( | 332 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation( |
333 PrivetLocalPrintOperation::Delegate* delegate) OVERRIDE; | 333 PrivetLocalPrintOperation::Delegate* delegate) OVERRIDE; |
334 virtual scoped_ptr<PrivetJSONOperation> CreateStorageListOperation( | |
335 const std::string& path, | |
336 const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; | |
337 virtual scoped_ptr<PrivetDataReadOperation> CreateStorageReadOperation( | |
338 const std::string& path, | |
339 const PrivetDataReadOperation::ResultCallback& callback) OVERRIDE; | |
340 | 334 |
341 private: | 335 private: |
342 PrivetHTTPClient* info_client() { return info_client_.get(); } | 336 PrivetHTTPClient* info_client() { return info_client_.get(); } |
343 | 337 |
344 scoped_ptr<PrivetHTTPClient> info_client_; | 338 scoped_ptr<PrivetHTTPClient> info_client_; |
345 | 339 |
346 DISALLOW_COPY_AND_ASSIGN(PrivetV1HTTPClientImpl); | 340 DISALLOW_COPY_AND_ASSIGN(PrivetV1HTTPClientImpl); |
347 }; | 341 }; |
348 | 342 |
349 } // namespace local_discovery | 343 } // namespace local_discovery |
350 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ | 344 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ |
OLD | NEW |