Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / intranet_redirect_detector.h
index a0343e8..bc7b5e4 100644 (file)
@@ -54,10 +54,6 @@ class IntranetRedirectDetector
 
   static void RegisterPrefs(PrefRegistrySimple* registry);
 
-  // The number of characters the fetcher will use for its randomly-generated
-  // hostnames.
-  static const size_t kNumCharsInHostnames;
-
  private:
   typedef std::set<net::URLFetcher*> Fetchers;
 
@@ -82,20 +78,4 @@ class IntranetRedirectDetector
   DISALLOW_COPY_AND_ASSIGN(IntranetRedirectDetector);
 };
 
-// This is for use in testing, where we don't want our fetches to actually go
-// over the network.  It captures the requests and causes them to fail.
-class IntranetRedirectHostResolverProc : public net::HostResolverProc {
- public:
-  explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
-
-  virtual int Resolve(const std::string& host,
-                      net::AddressFamily address_family,
-                      net::HostResolverFlags host_resolver_flags,
-                      net::AddressList* addrlist,
-                      int* os_error) OVERRIDE;
-
- private:
-  virtual ~IntranetRedirectHostResolverProc() {}
-};
-
 #endif  // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_