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

Unified Diff: chrome/browser/local_discovery/wifi/wifi_client.cc

Issue 226883002: WiFi client for GCD bootstrapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/wifi/wifi_client.cc
diff --git a/chrome/browser/local_discovery/wifi/wifi_client.cc b/chrome/browser/local_discovery/wifi/wifi_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c29412dfff2dee053980f1d929334e183c7b5ae1
--- /dev/null
+++ b/chrome/browser/local_discovery/wifi/wifi_client.cc
@@ -0,0 +1,23 @@
+// 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/wifi/wifi_client.h"
+
+#if defined(OS_WIN) || defined(OS_MACOSX)
+#include "chrome/browser/local_discovery/wifi/wifi_service_client.h"
+#endif
+
+namespace local_discovery {
+
+namespace wifi {
+
+scoped_ptr<WifiClient> WifiClient::Create() {
+#if defined(OS_WIN) || defined(OS_MACOSX)
+ return scoped_ptr<WifiClient>(new WifiServiceClient());
+#endif
stevenjb 2014/05/05 18:19:49 This won't compile on other platforms, you should
Noam Samuel 2014/05/05 21:42:51 Done.
+}
+
+} // namespace wifi
+
+} // namespace local_discovery

Powered by Google App Engine
This is Rietveld 408576698