| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <iphlpapi.h> | 7 #include <iphlpapi.h> |
| 8 #include <objbase.h> | 8 #include <objbase.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 #include <wlanapi.h> | 11 #include <wlanapi.h> |
| 12 | 12 |
| 13 #include <memory> | 13 #include <memory> |
| 14 #include <set> | 14 #include <set> |
| 15 #include <utility> | 15 #include <utility> |
| 16 | 16 |
| 17 #include "base/base_paths_win.h" | 17 #include "base/base_paths_win.h" |
| 18 #include "base/bind.h" | 18 #include "base/bind.h" |
| 19 #include "base/files/file_path.h" | 19 #include "base/files/file_path.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
| 22 #include "base/message_loop/message_loop.h" | 22 #include "base/message_loop/message_loop.h" |
| 23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
| 24 #include "base/single_thread_task_runner.h" |
| 24 #include "base/strings/string16.h" | 25 #include "base/strings/string16.h" |
| 25 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
| 26 #include "base/strings/utf_string_conversions.h" | 27 #include "base/strings/utf_string_conversions.h" |
| 27 #include "base/values.h" | 28 #include "base/values.h" |
| 28 #include "base/win/registry.h" | 29 #include "base/win/registry.h" |
| 29 #include "components/onc/onc_constants.h" | 30 #include "components/onc/onc_constants.h" |
| 30 #include "components/wifi/network_properties.h" | 31 #include "components/wifi/network_properties.h" |
| 31 #include "third_party/libxml/chromium/libxml_utils.h" | 32 #include "third_party/libxml/chromium/libxml_utils.h" |
| 32 | 33 |
| 33 namespace { | 34 namespace { |
| (...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 DVLOG(1) << "NotifyNetworkChanged: " << network_guid; | 1898 DVLOG(1) << "NotifyNetworkChanged: " << network_guid; |
| 1898 NetworkGuidList changed_networks(1, network_guid); | 1899 NetworkGuidList changed_networks(1, network_guid); |
| 1899 event_task_runner_->PostTask( | 1900 event_task_runner_->PostTask( |
| 1900 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks)); | 1901 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks)); |
| 1901 } | 1902 } |
| 1902 } | 1903 } |
| 1903 | 1904 |
| 1904 WiFiService* WiFiService::Create() { return new WiFiServiceImpl(); } | 1905 WiFiService* WiFiService::Create() { return new WiFiServiceImpl(); } |
| 1905 | 1906 |
| 1906 } // namespace wifi | 1907 } // namespace wifi |
| OLD | NEW |