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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_lookup_request.h

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/address_list.h" 10 #include "net/base/address_list.h"
11 #include "net/base/host_resolver.h"
12 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
13 #include "net/base/single_request_host_resolver.h" 12 #include "net/dns/host_resolver.h"
13 #include "net/dns/single_request_host_resolver.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 template<class T> 17 template<class T>
18 class PepperLookupRequest { 18 class PepperLookupRequest {
19 public: 19 public:
20 typedef base::Callback<void(int, const net::AddressList&, const T&)> 20 typedef base::Callback<void(int, const net::AddressList&, const T&)>
21 LookupRequestCallback; 21 LookupRequestCallback;
22 22
23 // Takes ownership over |bound_info|. |bound_info| will be passed to 23 // Takes ownership over |bound_info|. |bound_info| will be passed to
(...skipping 30 matching lines...) Expand all
54 LookupRequestCallback callback_; 54 LookupRequestCallback callback_;
55 55
56 net::AddressList addresses_; 56 net::AddressList addresses_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(PepperLookupRequest); 58 DISALLOW_COPY_AND_ASSIGN(PepperLookupRequest);
59 }; 59 };
60 60
61 } // namespace content 61 } // namespace content
62 62
63 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_ 63 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698