Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: extensions/browser/api/system_network/system_network_api.cc

Issue 1932363003: Remove net::IPAddressNumber. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database.cc ('k') | net/base/address_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698