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

Side by Side Diff: net/base/mapped_host_resolver.h

Issue 8533011: Remove unused HostResolver::Observer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove id from AsyncHostResolver; add double-cancelation check; comments' Created 9 years, 1 month 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
« no previous file with comments | « net/base/host_resolver_impl_unittest.cc ('k') | net/base/mapped_host_resolver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NET_BASE_MAPPED_HOST_RESOLVER_H_ 5 #ifndef NET_BASE_MAPPED_HOST_RESOLVER_H_
6 #define NET_BASE_MAPPED_HOST_RESOLVER_H_ 6 #define NET_BASE_MAPPED_HOST_RESOLVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // HostResolver methods: 46 // HostResolver methods:
47 virtual int Resolve(const RequestInfo& info, 47 virtual int Resolve(const RequestInfo& info,
48 AddressList* addresses, 48 AddressList* addresses,
49 OldCompletionCallback* callback, 49 OldCompletionCallback* callback,
50 RequestHandle* out_req, 50 RequestHandle* out_req,
51 const BoundNetLog& net_log) OVERRIDE; 51 const BoundNetLog& net_log) OVERRIDE;
52 virtual int ResolveFromCache(const RequestInfo& info, 52 virtual int ResolveFromCache(const RequestInfo& info,
53 AddressList* addresses, 53 AddressList* addresses,
54 const BoundNetLog& net_log) OVERRIDE; 54 const BoundNetLog& net_log) OVERRIDE;
55 virtual void CancelRequest(RequestHandle req) OVERRIDE; 55 virtual void CancelRequest(RequestHandle req) OVERRIDE;
56 virtual void AddObserver(Observer* observer) OVERRIDE;
57 virtual void RemoveObserver(Observer* observer) OVERRIDE;
58 virtual void ProbeIPv6Support() OVERRIDE; 56 virtual void ProbeIPv6Support() OVERRIDE;
59 virtual HostCache* GetHostCache() OVERRIDE; 57 virtual HostCache* GetHostCache() OVERRIDE;
60 58
61 private: 59 private:
62 scoped_ptr<HostResolver> impl_; 60 scoped_ptr<HostResolver> impl_;
63 61
64 HostMappingRules rules_; 62 HostMappingRules rules_;
65 }; 63 };
66 64
67 } // namespace net 65 } // namespace net
68 66
69 #endif // NET_BASE_MAPPED_HOST_RESOLVER_H_ 67 #endif // NET_BASE_MAPPED_HOST_RESOLVER_H_
OLDNEW
« no previous file with comments | « net/base/host_resolver_impl_unittest.cc ('k') | net/base/mapped_host_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698