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

Side by Side Diff: content/renderer/fetchers/resource_fetcher.h

Issue 18154002: Use a direct include of time headers in content/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
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 // 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 CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ 12 #ifndef CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_
13 #define CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ 13 #define CONTENT_RENDERER_FETCHERS_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/callback.h" 18 #include "base/callback.h"
19 #include "base/compiler_specific.h" 19 #include "base/compiler_specific.h"
20 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
21 #include "base/timer.h" 21 #include "base/timer/timer.h"
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" 24 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
25 #include "third_party/WebKit/public/platform/WebURLRequest.h" 25 #include "third_party/WebKit/public/platform/WebURLRequest.h"
26 #include "third_party/WebKit/public/platform/WebURLResponse.h" 26 #include "third_party/WebKit/public/platform/WebURLResponse.h"
27 27
28 class GURL; 28 class GURL;
29 29
30 namespace WebKit { 30 namespace WebKit {
31 class WebFrame; 31 class WebFrame;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // kill the request. 126 // kill the request.
127 void TimeoutFired(); 127 void TimeoutFired();
128 128
129 // Limit how long we wait for the alternate error page server. 129 // Limit how long we wait for the alternate error page server.
130 base::OneShotTimer<ResourceFetcherWithTimeout> timeout_timer_; 130 base::OneShotTimer<ResourceFetcherWithTimeout> timeout_timer_;
131 }; 131 };
132 132
133 } // namespace content 133 } // namespace content
134 134
135 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ 135 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/webstoragearea_impl.cc ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698