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 | |
9 namespace { | 7 namespace { |
10 const char kNetworkListError[] = "Network lookup failed or unsupported"; | 8 const char kNetworkListError[] = "Network lookup failed or unsupported"; |
11 } // namespace | 9 } // namespace |
12 | 10 |
13 namespace extensions { | 11 namespace extensions { |
14 namespace api { | 12 namespace api { |
15 | 13 |
16 SystemNetworkGetNetworkInterfacesFunction:: | 14 SystemNetworkGetNetworkInterfacesFunction:: |
17 SystemNetworkGetNetworkInterfacesFunction() { | 15 SystemNetworkGetNetworkInterfacesFunction() { |
18 } | 16 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 create_arg.push_back(std::move(info)); | 70 create_arg.push_back(std::move(info)); |
73 } | 71 } |
74 | 72 |
75 results_ = | 73 results_ = |
76 api::system_network::GetNetworkInterfaces::Results::Create(create_arg); | 74 api::system_network::GetNetworkInterfaces::Results::Create(create_arg); |
77 SendResponse(true); | 75 SendResponse(true); |
78 } | 76 } |
79 | 77 |
80 } // namespace api | 78 } // namespace api |
81 } // namespace extensions | 79 } // namespace extensions |
OLD | NEW |