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_LINUX_H_ | 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ |
6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ | 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/containers/hash_tables.h" | |
10 #include "base/macros.h" | 9 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
13 #include "net/base/network_change_notifier.h" | 12 #include "net/base/network_change_notifier.h" |
14 | 13 |
15 namespace net { | 14 namespace net { |
16 | 15 |
17 class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux | 16 class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux |
18 : public NetworkChangeNotifier { | 17 : public NetworkChangeNotifier { |
19 public: | 18 public: |
(...skipping 23 matching lines...) Expand all Loading... |
43 // was created on. | 42 // was created on. |
44 // Also used for DnsConfigService which requires TYPE_IO message loop. | 43 // Also used for DnsConfigService which requires TYPE_IO message loop. |
45 scoped_ptr<Thread> notifier_thread_; | 44 scoped_ptr<Thread> notifier_thread_; |
46 | 45 |
47 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierLinux); | 46 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierLinux); |
48 }; | 47 }; |
49 | 48 |
50 } // namespace net | 49 } // namespace net |
51 | 50 |
52 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ | 51 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ |
OLD | NEW |