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

Side by Side Diff: chrome/browser/intranet_redirect_detector.h

Issue 10071036: RefCounted types should not have public destructors, chrome/browser/ part 6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes Created 8 years, 8 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) 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 CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
6 #define CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 6 #define CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // over the network. It captures the requests and causes them to fail. 87 // over the network. It captures the requests and causes them to fail.
88 class IntranetRedirectHostResolverProc : public net::HostResolverProc { 88 class IntranetRedirectHostResolverProc : public net::HostResolverProc {
89 public: 89 public:
90 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous); 90 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
91 91
92 virtual int Resolve(const std::string& host, 92 virtual int Resolve(const std::string& host,
93 net::AddressFamily address_family, 93 net::AddressFamily address_family,
94 net::HostResolverFlags host_resolver_flags, 94 net::HostResolverFlags host_resolver_flags,
95 net::AddressList* addrlist, 95 net::AddressList* addrlist,
96 int* os_error) OVERRIDE; 96 int* os_error) OVERRIDE;
97
98 private:
99 virtual ~IntranetRedirectHostResolverProc() {}
97 }; 100 };
98 101
99 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 102 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_importer_unittest_utils_mac.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698