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 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 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/address_list.h" | 10 #include "net/base/address_list.h" |
12 #include "net/base/host_resolver.h" | 11 #include "net/base/host_resolver.h" |
13 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
14 #include "net/base/single_request_host_resolver.h" | 13 #include "net/base/single_request_host_resolver.h" |
15 | 14 |
16 template<class T> | 15 template<class T> |
17 class PepperLookupRequest { | 16 class PepperLookupRequest { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 net::HostResolver::RequestInfo request_info_; | 50 net::HostResolver::RequestInfo request_info_; |
52 scoped_ptr<T> bound_info_; | 51 scoped_ptr<T> bound_info_; |
53 LookupRequestCallback callback_; | 52 LookupRequestCallback callback_; |
54 | 53 |
55 net::AddressList addresses_; | 54 net::AddressList addresses_; |
56 | 55 |
57 DISALLOW_COPY_AND_ASSIGN(PepperLookupRequest); | 56 DISALLOW_COPY_AND_ASSIGN(PepperLookupRequest); |
58 }; | 57 }; |
59 | 58 |
60 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_ | 59 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_LOOKUP_REQUEST_H_ |
OLD | NEW |