OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ |
6 #define CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ | 6 #define CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
11 #include "third_party/webrtc/base/network.h" | 12 #include "third_party/webrtc/base/network.h" |
12 | 13 |
13 namespace rtc { | 14 namespace rtc { |
14 class IPAddress; | 15 class IPAddress; |
15 } // namespace rtc | 16 } // namespace rtc |
16 | 17 |
17 namespace content { | 18 namespace content { |
(...skipping 30 matching lines...) Expand all Loading... |
48 rtc::NetworkManager* network_manager_; | 49 rtc::NetworkManager* network_manager_; |
49 | 50 |
50 base::WeakPtrFactory<EmptyNetworkManager> weak_ptr_factory_; | 51 base::WeakPtrFactory<EmptyNetworkManager> weak_ptr_factory_; |
51 | 52 |
52 DISALLOW_COPY_AND_ASSIGN(EmptyNetworkManager); | 53 DISALLOW_COPY_AND_ASSIGN(EmptyNetworkManager); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace content | 56 } // namespace content |
56 | 57 |
57 #endif // CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ | 58 #endif // CONTENT_RENDERER_P2P_EMPTY_NETWORK_MANAGER_H_ |
OLD | NEW |