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

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

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 years, 4 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
« no previous file with comments | « chrome/browser/importer/importer.h ('k') | chrome/browser/mach_broker_mac.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "chrome/common/net/url_fetcher.h" 13 #include "chrome/common/net/url_fetcher.h"
14 #include "chrome/common/notification_observer.h"
14 #include "chrome/common/notification_registrar.h" 15 #include "chrome/common/notification_registrar.h"
15 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
16 #include "net/base/host_resolver_proc.h" 17 #include "net/base/host_resolver_proc.h"
17 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
18 19
19 class PrefService; 20 class PrefService;
20 21
21 // This object is responsible for determining whether the user is on a network 22 // This object is responsible for determining whether the user is on a network
22 // that redirects requests for intranet hostnames to another site, and if so, 23 // that redirects requests for intranet hostnames to another site, and if so,
23 // tracking what that site is (including across restarts via a pref). For 24 // tracking what that site is (including across restarts via a pref). For
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous); 107 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
107 108
108 virtual int Resolve(const std::string& host, 109 virtual int Resolve(const std::string& host,
109 net::AddressFamily address_family, 110 net::AddressFamily address_family,
110 net::HostResolverFlags host_resolver_flags, 111 net::HostResolverFlags host_resolver_flags,
111 net::AddressList* addrlist, 112 net::AddressList* addrlist,
112 int* os_error); 113 int* os_error);
113 }; 114 };
114 115
115 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 116 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer.h ('k') | chrome/browser/mach_broker_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698