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

Side by Side Diff: net/base/network_change_notifier_win.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 (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/base/network_change_notifier_win.h" 5 #include "net/base/network_change_notifier_win.h"
6 6
7 #include <iphlpapi.h> 7 #include <iphlpapi.h>
8 #include <winsock2.h> 8 #include <winsock2.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
17 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/time/time.h" 19 #include "base/time/time.h"
19 #include "net/base/winsock_init.h" 20 #include "net/base/winsock_init.h"
20 #include "net/base/winsock_util.h" 21 #include "net/base/winsock_util.h"
21 #include "net/dns/dns_config_service.h" 22 #include "net/dns/dns_config_service.h"
22 23
23 namespace net { 24 namespace net {
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 323
323 NotifyObserversOfConnectionTypeChange(); 324 NotifyObserversOfConnectionTypeChange();
324 double max_bandwidth_mbps = 0.0; 325 double max_bandwidth_mbps = 0.0;
325 ConnectionType connection_type = CONNECTION_NONE; 326 ConnectionType connection_type = CONNECTION_NONE;
326 GetCurrentMaxBandwidthAndConnectionType(&max_bandwidth_mbps, 327 GetCurrentMaxBandwidthAndConnectionType(&max_bandwidth_mbps,
327 &connection_type); 328 &connection_type);
328 NotifyObserversOfMaxBandwidthChange(max_bandwidth_mbps, connection_type); 329 NotifyObserversOfMaxBandwidthChange(max_bandwidth_mbps, connection_type);
329 } 330 }
330 331
331 } // namespace net 332 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698