Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/local_discovery/wifi/wifi_client.h" | |
| 6 | |
| 7 #if defined(OS_WIN) || defined(OS_MACOSX) | |
| 8 #include "chrome/browser/local_discovery/wifi/wifi_service_client.h" | |
| 9 #endif | |
| 10 | |
| 11 namespace local_discovery { | |
| 12 | |
| 13 namespace wifi { | |
| 14 | |
| 15 scoped_ptr<WifiClient> WifiClient::Create() { | |
| 16 #if defined(OS_WIN) || defined(OS_MACOSX) | |
| 17 return scoped_ptr<WifiClient>(new WifiServiceClient()); | |
| 18 #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.
| |
| 19 } | |
| 20 | |
| 21 } // namespace wifi | |
| 22 | |
| 23 } // namespace local_discovery | |
| OLD | NEW |