OLD | NEW |
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 CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 5 #ifndef CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
6 #define CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 6 #define CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "googleurl/src/gurl.h" | |
11 #include "third_party/WebKit/public/platform/WebURLError.h" | 10 #include "third_party/WebKit/public/platform/WebURLError.h" |
12 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 11 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 12 #include "url/gurl.h" |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebFrame; | 15 class WebFrame; |
16 class WebURLResponse; | 16 class WebURLResponse; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class ResourceFetcherWithTimeout; | 20 class ResourceFetcherWithTimeout; |
21 | 21 |
22 // Used for downloading alternate dns error pages. Once downloading is done | 22 // Used for downloading alternate dns error pages. Once downloading is done |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // The error associated with this load. If there's an error talking with the | 59 // The error associated with this load. If there's an error talking with the |
60 // alt error page server, we need this to complete the original load. | 60 // alt error page server, we need this to complete the original load. |
61 WebKit::WebURLError original_error_; | 61 WebKit::WebURLError original_error_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); | 63 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace content | 66 } // namespace content |
67 | 67 |
68 #endif // CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 68 #endif // CONTENT_RENDERER_FETCHERS_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
OLD | NEW |