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

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

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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
« no previous file with comments | « chrome/browser/importer/toolbar_importer.h ('k') | chrome/browser/io_thread.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 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"
14 #include "content/common/notification_observer.h" 13 #include "content/common/notification_observer.h"
15 #include "content/common/notification_registrar.h" 14 #include "content/common/notification_registrar.h"
15 #include "content/common/url_fetcher.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/host_resolver_proc.h" 17 #include "net/base/host_resolver_proc.h"
18 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
19 19
20 class PrefService; 20 class PrefService;
21 21
22 // 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
23 // 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,
24 // 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
25 // example, the user's ISP might convert a request for "http://query/" into a 25 // example, the user's ISP might convert a request for "http://query/" into a
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous); 94 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
95 95
96 virtual int Resolve(const std::string& host, 96 virtual int Resolve(const std::string& host,
97 net::AddressFamily address_family, 97 net::AddressFamily address_family,
98 net::HostResolverFlags host_resolver_flags, 98 net::HostResolverFlags host_resolver_flags,
99 net::AddressList* addrlist, 99 net::AddressList* addrlist,
100 int* os_error); 100 int* os_error);
101 }; 101 };
102 102
103 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 103 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/toolbar_importer.h ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698