OLD | NEW |
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 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/observer_list_threadsafe.h" | 14 #include "base/observer_list_threadsafe.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
17 | 17 |
18 class GURL; | |
19 | |
20 namespace net { | 18 namespace net { |
21 | 19 |
22 struct DnsConfig; | 20 struct DnsConfig; |
23 class HistogramWatcher; | 21 class HistogramWatcher; |
24 class NetworkChangeNotifierFactory; | 22 class NetworkChangeNotifierFactory; |
25 struct NetworkInterface; | 23 struct NetworkInterface; |
26 typedef std::vector<NetworkInterface> NetworkInterfaceList; | 24 typedef std::vector<NetworkInterface> NetworkInterfaceList; |
27 class URLRequest; | 25 class URLRequest; |
28 | 26 |
29 #if defined(OS_LINUX) | 27 #if defined(OS_LINUX) |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 | 573 |
576 // Set true to disable non-test notifications (to prevent flakes in tests). | 574 // Set true to disable non-test notifications (to prevent flakes in tests). |
577 static bool test_notifications_only_; | 575 static bool test_notifications_only_; |
578 | 576 |
579 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); | 577 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); |
580 }; | 578 }; |
581 | 579 |
582 } // namespace net | 580 } // namespace net |
583 | 581 |
584 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 582 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
OLD | NEW |