| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 5 #ifndef WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
| 6 #define WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 6 #define WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
| 7 | 7 |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| 11 #include "webkit/api/public/WebURLError.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebURLError.h" |
| 12 | 12 |
| 13 namespace WebKit { | 13 namespace WebKit { |
| 14 class WebFrame; | 14 class WebFrame; |
| 15 class WebURLResponse; | 15 class WebURLResponse; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace webkit_glue { | 18 namespace webkit_glue { |
| 19 class ResourceFetcherWithTimeout; | 19 class ResourceFetcherWithTimeout; |
| 20 | 20 |
| 21 // Used for downloading alternate dns error pages. Once downloading is done | 21 // Used for downloading alternate dns error pages. Once downloading is done |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 // The error associated with this load. If there's an error talking with the | 50 // The error associated with this load. If there's an error talking with the |
| 51 // alt error page server, we need this to complete the original load. | 51 // alt error page server, we need this to complete the original load. |
| 52 WebKit::WebURLError original_error_; | 52 WebKit::WebURLError original_error_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); | 54 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace webkit_glue | 57 } // namespace webkit_glue |
| 58 | 58 |
| 59 #endif // WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 59 #endif // WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
| OLD | NEW |