Index: chrome/browser/local_discovery/privet_http_impl.h |
diff --git a/chrome/browser/local_discovery/privet_http_impl.h b/chrome/browser/local_discovery/privet_http_impl.h |
index 2ef4776e830266c86b91f62c4d5828a8eff09fbc..fa7b3990cb08ce74e98f183557d9a74b63e212a8 100644 |
--- a/chrome/browser/local_discovery/privet_http_impl.h |
+++ b/chrome/browser/local_discovery/privet_http_impl.h |
@@ -346,5 +346,22 @@ class PrivetV1HTTPClientImpl : public PrivetV1HTTPClient { |
DISALLOW_COPY_AND_ASSIGN(PrivetV1HTTPClientImpl); |
}; |
+class PrivetV3HTTPClientImpl : public PrivetV3HTTPClient { |
+ public: |
+ explicit PrivetV3HTTPClientImpl(scoped_ptr<PrivetHTTPClient> info_client); |
+ virtual ~PrivetV3HTTPClientImpl(); |
+ |
+ virtual const std::string& GetName() OVERRIDE; |
+ virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation( |
+ const PrivetJSONOperation::ResultCallback& callback) OVERRIDE; |
+ |
+ private: |
+ PrivetHTTPClient* info_client() { return info_client_.get(); } |
+ |
+ scoped_ptr<PrivetHTTPClient> info_client_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(PrivetV3HTTPClientImpl); |
+}; |
+ |
} // namespace local_discovery |
#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_ |