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

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

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/mapped_host_resolver.h ('k') | net/base/mock_host_resolver.h » ('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 #include "net/base/mapped_host_resolver.h" 5 #include "net/base/mapped_host_resolver.h"
6 6
7 #include "base/string_tokenizer.h" 7 #include "base/string_tokenizer.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "net/base/host_port_pair.h" 9 #include "net/base/host_port_pair.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
(...skipping 27 matching lines...) Expand all
38 AddressList* addresses, 38 AddressList* addresses,
39 const BoundNetLog& net_log) { 39 const BoundNetLog& net_log) {
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 return ERR_UNEXPECTED; 41 return ERR_UNEXPECTED;
42 } 42 }
43 43
44 void MappedHostResolver::CancelRequest(RequestHandle req) { 44 void MappedHostResolver::CancelRequest(RequestHandle req) {
45 impl_->CancelRequest(req); 45 impl_->CancelRequest(req);
46 } 46 }
47 47
48 void MappedHostResolver::AddObserver(Observer* observer) {
49 impl_->AddObserver(observer);
50 }
51
52 void MappedHostResolver::RemoveObserver(Observer* observer) {
53 impl_->RemoveObserver(observer);
54 }
55
56 void MappedHostResolver::ProbeIPv6Support() { 48 void MappedHostResolver::ProbeIPv6Support() {
57 impl_->ProbeIPv6Support(); 49 impl_->ProbeIPv6Support();
58 } 50 }
59 51
60 HostCache* MappedHostResolver::GetHostCache() { 52 HostCache* MappedHostResolver::GetHostCache() {
61 return impl_->GetHostCache(); 53 return impl_->GetHostCache();
62 } 54 }
63 55
64 } // namespace net 56 } // namespace net
OLDNEW
« no previous file with comments | « net/base/mapped_host_resolver.h ('k') | net/base/mock_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698