Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(922)

Side by Side Diff: webkit/glue/alt_404_page_resource_fetcher.h

Issue 7094: GCC 4.3 fixes.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/alt_error_page_resource_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_404_PAGE_RESOURCE_HANDLE_CLIENT_H__ 5 #ifndef WEBKIT_GLUE_ALT_404_PAGE_RESOURCE_HANDLE_CLIENT_H__
6 #define WEBKIT_GLUE_ALT_404_PAGE_RESOURCE_HANDLE_CLIENT_H__ 6 #define WEBKIT_GLUE_ALT_404_PAGE_RESOURCE_HANDLE_CLIENT_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 12
13 #include "webkit/glue/resource_fetcher.h" 13 #include "webkit/glue/resource_fetcher.h"
14 14
15 class WebFrameLoaderClient; 15 class WebFrameLoaderClient;
16 class WebCore::DocumentLoader;
17 class WebCore::Frame;
18 class WebCore::ResourceResponse;
19 16
20 // ResourceHandleClient implementation that is used for downloading alternate 17 // ResourceHandleClient implementation that is used for downloading alternate
21 // 404 pages. Once downloading is done (or fails), the WebFrameLoaderClient is 18 // 404 pages. Once downloading is done (or fails), the WebFrameLoaderClient is
22 // notified. 19 // notified.
23 class Alt404PageResourceFetcher : public ResourceFetcher::Delegate { 20 class Alt404PageResourceFetcher : public ResourceFetcher::Delegate {
24 public: 21 public:
25 Alt404PageResourceFetcher(WebFrameLoaderClient* webframeloaderclient, 22 Alt404PageResourceFetcher(WebFrameLoaderClient* webframeloaderclient,
26 WebCore::Frame* frame, 23 WebCore::Frame* frame,
27 WebCore::DocumentLoader* doc_loader, 24 WebCore::DocumentLoader* doc_loader,
28 const GURL& url); 25 const GURL& url);
(...skipping 17 matching lines...) Expand all
46 // The DocumentLoader associated with this load. If there's an error 43 // The DocumentLoader associated with this load. If there's an error
47 // talking with the alt 404 page server, we need this to complete the 44 // talking with the alt 404 page server, we need this to complete the
48 // original load. 45 // original load.
49 RefPtr<WebCore::DocumentLoader> doc_loader_; 46 RefPtr<WebCore::DocumentLoader> doc_loader_;
50 47
51 DISALLOW_EVIL_CONSTRUCTORS(Alt404PageResourceFetcher); 48 DISALLOW_EVIL_CONSTRUCTORS(Alt404PageResourceFetcher);
52 }; 49 };
53 50
54 #endif // WEBKIT_GLUE_ALT_404_PAGE_RESOURCE_HANDLE_CLIENT_H__ 51 #endif // WEBKIT_GLUE_ALT_404_PAGE_RESOURCE_HANDLE_CLIENT_H__
55 52
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/alt_error_page_resource_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698