OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HOST_ADDRESS_REQUEST_H_ | 5 #ifndef CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ |
6 #define CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ | 6 #define CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "net/base/net_util.h" | 13 #include "net/base/ip_address_number.h" |
14 #include "third_party/webrtc/base/asyncresolverinterface.h" | 14 #include "third_party/webrtc/base/asyncresolverinterface.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class MessageLoop; | 17 class MessageLoop; |
18 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
23 class P2PSocketDispatcher; | 23 class P2PSocketDispatcher; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 bool registered_; | 67 bool registered_; |
68 std::vector<rtc::IPAddress> addresses_; | 68 std::vector<rtc::IPAddress> addresses_; |
69 DoneCallback done_callback_; | 69 DoneCallback done_callback_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(P2PAsyncAddressResolver); | 71 DISALLOW_COPY_AND_ASSIGN(P2PAsyncAddressResolver); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ | 76 #endif // CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ |
OLD | NEW |