| Index: chrome/browser/prerender/prerender_interceptor.h
|
| ===================================================================
|
| --- chrome/browser/prerender/prerender_interceptor.h (revision 0)
|
| +++ chrome/browser/prerender/prerender_interceptor.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_NET_PRERENDER_INTERCEPTOR_H_
|
| -#define CHROME_BROWSER_NET_PRERENDER_INTERCEPTOR_H_
|
| +#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_INTERCEPTOR_H_
|
| +#define CHROME_BROWSER_PRERENDER_PRERENDER_INTERCEPTOR_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback.h"
|
| @@ -13,12 +13,10 @@
|
|
|
| class GURL;
|
|
|
| -namespace chrome_browser_net {
|
| -
|
| // The PrerenderInterceptor watches prefetch requests, and when
|
| // they are for type text/html, notifies the prerendering
|
| // system about the fetch so it may consider the URL.
|
| -class PrerenderInterceptor : public URLRequest::Interceptor {
|
| +class PrerenderInterceptor : public net::URLRequest::Interceptor {
|
| public:
|
| PrerenderInterceptor();
|
| virtual ~PrerenderInterceptor();
|
| @@ -26,8 +24,8 @@
|
| // URLRequest::Interceptor overrides. We only care about
|
| // MaybeInterceptResponse, but must capture MaybeIntercept since
|
| // it is pure virtual.
|
| - virtual URLRequestJob* MaybeIntercept(URLRequest* request);
|
| - virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request);
|
| + virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request);
|
| + virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
|
|
|
| private:
|
| friend class PrerenderInterceptorTest;
|
| @@ -47,7 +45,5 @@
|
| DISALLOW_COPY_AND_ASSIGN(PrerenderInterceptor);
|
| };
|
|
|
| -} // namespace chrome_browser_net
|
| +#endif // CHROME_BROWSER_PRERENDER_PRERENDER_INTERCEPTOR_H_
|
|
|
| -#endif // CHROME_BROWSER_NET_PRERENDER_INTERCEPTOR_H_
|
| -
|
|
|