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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/observer_list_threadsafe.h" | 9 #include "base/observer_list_threadsafe.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 struct DnsConfig; | 17 struct DnsConfig; |
18 class HistogramWatcher; | 18 class HistogramWatcher; |
19 class NetworkChangeNotifierFactory; | 19 class NetworkChangeNotifierFactory; |
20 class URLRequest; | 20 class URLRequest; |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 // Computes NetworkChange signal from IPAddress and ConnectionType signals. | 315 // Computes NetworkChange signal from IPAddress and ConnectionType signals. |
316 scoped_ptr<NetworkChangeCalculator> network_change_calculator_; | 316 scoped_ptr<NetworkChangeCalculator> network_change_calculator_; |
317 | 317 |
318 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); | 318 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); |
319 }; | 319 }; |
320 | 320 |
321 } // namespace net | 321 } // namespace net |
322 | 322 |
323 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 323 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
OLD | NEW |