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 |