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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_win.cc ('k') | webkit/glue/resource_fetcher.cc » ('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 // A wrapper around ResourceHandle and ResourceHandleClient that simplifies 5 // A wrapper around ResourceHandle and ResourceHandleClient that simplifies
6 // the download of an HTTP object. The interface is modeled after URLFetcher 6 // the download of an HTTP object. The interface is modeled after URLFetcher
7 // in the /chrome/browser. 7 // in the /chrome/browser.
8 // 8 //
9 // ResourceFetcher::Delegate::OnURLFetchComplete will be called async after 9 // ResourceFetcher::Delegate::OnURLFetchComplete will be called async after
10 // the ResourceFetcher object is created. 10 // the ResourceFetcher object is created.
11 11
12 #ifndef WEBKIT_GLUE_RESOURCE_FETCHER_H_ 12 #ifndef WEBKIT_GLUE_RESOURCE_FETCHER_H_
13 #define WEBKIT_GLUE_RESOURCE_FETCHER_H_ 13 #define WEBKIT_GLUE_RESOURCE_FETCHER_H_
14 14
15 #include <string> 15 #include <string>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/scoped_ptr.h" 18 #include "base/scoped_ptr.h"
19 #include "base/timer.h" 19 #include "base/timer.h"
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "webkit/api/public/WebURLLoaderClient.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h"
22 #include "webkit/api/public/WebURLResponse.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
23 23
24 class GURL; 24 class GURL;
25 25
26 namespace WebKit { 26 namespace WebKit {
27 class WebFrame; 27 class WebFrame;
28 class WebURLLoader; 28 class WebURLLoader;
29 class WebURLRequest; 29 class WebURLRequest;
30 struct WebURLError; 30 struct WebURLError;
31 } 31 }
32 32
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // kill the request. 102 // kill the request.
103 void TimeoutFired(); 103 void TimeoutFired();
104 104
105 // Limit how long we wait for the alternate error page server. 105 // Limit how long we wait for the alternate error page server.
106 base::OneShotTimer<ResourceFetcherWithTimeout> timeout_timer_; 106 base::OneShotTimer<ResourceFetcherWithTimeout> timeout_timer_;
107 }; 107 };
108 108
109 } // namespace webkit_glue 109 } // namespace webkit_glue
110 110
111 #endif // WEBKIT_GLUE_RESOURCE_FETCHER_H_ 111 #endif // WEBKIT_GLUE_RESOURCE_FETCHER_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_win.cc ('k') | webkit/glue/resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698