Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: content/renderer/p2p/host_address_request.h

Issue 1769783002: Migrate net::IPAddressList to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments eroman Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "net/base/ip_address_number.h" 16 #include "net/base/ip_address.h"
17 #include "third_party/webrtc/base/asyncresolverinterface.h" 17 #include "third_party/webrtc/base/asyncresolverinterface.h"
18 18
19 namespace base { 19 namespace base {
20 class MessageLoop; 20 class MessageLoop;
21 class SingleThreadTaskRunner; 21 class SingleThreadTaskRunner;
22 } // namespace base 22 } // namespace base
23 23
24 namespace content { 24 namespace content {
25 25
26 class P2PSocketDispatcher; 26 class P2PSocketDispatcher;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool registered_; 70 bool registered_;
71 std::vector<rtc::IPAddress> addresses_; 71 std::vector<rtc::IPAddress> addresses_;
72 DoneCallback done_callback_; 72 DoneCallback done_callback_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(P2PAsyncAddressResolver); 74 DISALLOW_COPY_AND_ASSIGN(P2PAsyncAddressResolver);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_ 79 #endif // CONTENT_RENDERER_P2P_HOST_ADDRESS_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698