| 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 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/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" | 10 #include "googleurl/src/gurl.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" |
| 12 #include "webkit/glue/webkit_glue_export.h" | 12 #include "webkit/glue/webkit_glue_export.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 webkit_glue { | 19 namespace webkit_glue { |
| 20 class ResourceFetcherWithTimeout; | 20 class ResourceFetcherWithTimeout; |
| 21 | 21 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 // The error associated with this load. If there's an error talking with the | 52 // The error associated with this load. If there's an error talking with the |
| 53 // alt error page server, we need this to complete the original load. | 53 // alt error page server, we need this to complete the original load. |
| 54 WebKit::WebURLError original_error_; | 54 WebKit::WebURLError original_error_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); | 56 DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace webkit_glue | 59 } // namespace webkit_glue |
| 60 | 60 |
| 61 #endif // WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ | 61 #endif // WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_ |
| OLD | NEW |