diff options
Diffstat (limited to 'chrome/browser/local_discovery/privet_http_impl.cc')
-rw-r--r-- | chrome/browser/local_discovery/privet_http_impl.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc index ecdf57c..f73c6d7 100644 --- a/chrome/browser/local_discovery/privet_http_impl.cc +++ b/chrome/browser/local_discovery/privet_http_impl.cc @@ -949,4 +949,21 @@ PrivetV1HTTPClientImpl::CreateStorageReadOperation( info_client(), kPrivetStorageContentPath, url_param, callback)); } +PrivetV3HTTPClientImpl::PrivetV3HTTPClientImpl( + scoped_ptr<PrivetHTTPClient> info_client) + : info_client_(info_client.Pass()) { +} + +PrivetV3HTTPClientImpl::~PrivetV3HTTPClientImpl() { +} + +const std::string& PrivetV3HTTPClientImpl::GetName() { + return info_client()->GetName(); +} + +scoped_ptr<PrivetJSONOperation> PrivetV3HTTPClientImpl::CreateInfoOperation( + const PrivetJSONOperation::ResultCallback& callback) { + return info_client()->CreateInfoOperation(callback); +} + } // namespace local_discovery |