| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/wifi/wifi_service.h" | 5 #include "components/wifi/wifi_service.h" |
| 6 | 6 |
| 7 #import <CoreWLAN/CoreWLAN.h> |
| 7 #import <netinet/in.h> | 8 #import <netinet/in.h> |
| 8 #import <CoreWLAN/CoreWLAN.h> | |
| 9 #import <SystemConfiguration/SystemConfiguration.h> | 9 #import <SystemConfiguration/SystemConfiguration.h> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/mac/foundation_util.h" | 12 #include "base/mac/foundation_util.h" |
| 13 #include "base/mac/scoped_cftyperef.h" | 13 #include "base/mac/scoped_cftyperef.h" |
| 14 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
| 15 #include "base/mac/sdk_forward_declarations.h" | 15 #include "base/mac/sdk_forward_declarations.h" |
| 16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
| 17 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
| 18 #include "components/onc/onc_constants.h" | 18 #include "components/onc/onc_constants.h" |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 NetworkGuidList changed_networks(1, network_guid); | 655 NetworkGuidList changed_networks(1, network_guid); |
| 656 message_loop_proxy_->PostTask( | 656 message_loop_proxy_->PostTask( |
| 657 FROM_HERE, | 657 FROM_HERE, |
| 658 base::Bind(networks_changed_observer_, changed_networks)); | 658 base::Bind(networks_changed_observer_, changed_networks)); |
| 659 } | 659 } |
| 660 | 660 |
| 661 // static | 661 // static |
| 662 WiFiService* WiFiService::Create() { return new WiFiServiceMac(); } | 662 WiFiService* WiFiService::Create() { return new WiFiServiceMac(); } |
| 663 | 663 |
| 664 } // namespace wifi | 664 } // namespace wifi |
| OLD | NEW |