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

Side by Side Diff: net/quic/network_connection.cc

Issue 1290723003: Stop including network_interfaces.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT and remove AUTHORS change as it is there already Created 5 years, 4 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
« no previous file with comments | « net/dns/mdns_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/quic/network_connection.h" 5 #include "net/quic/network_connection.h"
6 6
7 #include "net/base/net_util.h" 7 #include "net/base/network_interfaces.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 NetworkConnection::NetworkConnection() 11 NetworkConnection::NetworkConnection()
12 : connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN), 12 : connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN),
13 connection_description_(nullptr) { 13 connection_description_(nullptr) {
14 } 14 }
15 15
16 const char* NetworkConnection::GetDescription() { 16 const char* NetworkConnection::GetDescription() {
17 NetworkChangeNotifier::ConnectionType type = 17 NetworkChangeNotifier::ConnectionType type =
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void NetworkConnection::OnIPAddressChanged() { 67 void NetworkConnection::OnIPAddressChanged() {
68 Clear(); 68 Clear();
69 } 69 }
70 70
71 void NetworkConnection::OnConnectionTypeChanged( 71 void NetworkConnection::OnConnectionTypeChanged(
72 NetworkChangeNotifier::ConnectionType type) { 72 NetworkChangeNotifier::ConnectionType type) {
73 Clear(); 73 Clear();
74 } 74 }
75 75
76 } // namespace net 76 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/mdns_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698