Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2698)

Unified Diff: chrome/browser/local_discovery/privet_http.cc

Issue 320683002: Extracted PrivetV1HTTPClient with Privet v1 specific operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/privet_http.cc
diff --git a/chrome/browser/local_discovery/privet_http.cc b/chrome/browser/local_discovery/privet_http.cc
new file mode 100644
index 0000000000000000000000000000000000000000..59d1811176be9c1632a972148a0b15efb114d97d
--- /dev/null
+++ b/chrome/browser/local_discovery/privet_http.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/local_discovery/privet_http.h"
+
+#include "chrome/browser/local_discovery/privet_http_impl.h"
+
+namespace local_discovery {
+
+// static
+scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault(
+ scoped_ptr<PrivetHTTPClient> info_client) {
+ return make_scoped_ptr<PrivetV1HTTPClient>(
+ new PrivetV1HTTPClientImpl(info_client.Pass())).Pass();
+}
+
+} // namespace local_discovery
« no previous file with comments | « chrome/browser/local_discovery/privet_http.h ('k') | chrome/browser/local_discovery/privet_http_asynchronous_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698