| 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 "extensions/browser/api/system_network/system_network_api.h" | 5 #include "extensions/browser/api/system_network/system_network_api.h" |
| 6 | 6 |
| 7 #include "net/base/ip_address_number.h" |
| 8 |
| 7 namespace { | 9 namespace { |
| 8 const char kNetworkListError[] = "Network lookup failed or unsupported"; | 10 const char kNetworkListError[] = "Network lookup failed or unsupported"; |
| 9 } // namespace | 11 } // namespace |
| 10 | 12 |
| 11 namespace extensions { | 13 namespace extensions { |
| 12 namespace core_api { | 14 namespace core_api { |
| 13 | 15 |
| 14 SystemNetworkGetNetworkInterfacesFunction:: | 16 SystemNetworkGetNetworkInterfacesFunction:: |
| 15 SystemNetworkGetNetworkInterfacesFunction() { | 17 SystemNetworkGetNetworkInterfacesFunction() { |
| 16 } | 18 } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 create_arg.push_back(info); | 76 create_arg.push_back(info); |
| 75 } | 77 } |
| 76 | 78 |
| 77 results_ = core_api::system_network::GetNetworkInterfaces::Results::Create( | 79 results_ = core_api::system_network::GetNetworkInterfaces::Results::Create( |
| 78 create_arg); | 80 create_arg); |
| 79 SendResponse(true); | 81 SendResponse(true); |
| 80 } | 82 } |
| 81 | 83 |
| 82 } // namespace core_api | 84 } // namespace core_api |
| 83 } // namespace extensions | 85 } // namespace extensions |
| OLD | NEW |