Index: chrome/browser/local_discovery/privet_http_impl.cc |
diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc |
index ecdf57c91127fc636bfc651cc2e2935240672f9f..f73c6d756d6bed4839b90a266763aa67d3368878 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 |