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

Side by Side Diff: content/browser/loader/throttling_resource_handler.h

Issue 11414299: Add content/browser/loader/ for resource loading related classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "content/browser/renderer_host/layered_resource_handler.h" 10 #include "content/browser/loader/layered_resource_handler.h"
11 #include "content/public/browser/resource_controller.h" 11 #include "content/public/browser/resource_controller.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 class ResourceThrottle; 16 class ResourceThrottle;
17 struct ResourceResponse; 17 struct ResourceResponse;
18 18
19 // Used to apply a list of ResourceThrottle instances to an URLRequest. 19 // Used to apply a list of ResourceThrottle instances to an URLRequest.
20 class ThrottlingResourceHandler : public LayeredResourceHandler, 20 class ThrottlingResourceHandler : public LayeredResourceHandler,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 size_t index_; 62 size_t index_;
63 63
64 GURL deferred_url_; 64 GURL deferred_url_;
65 scoped_refptr<ResourceResponse> deferred_response_; 65 scoped_refptr<ResourceResponse> deferred_response_;
66 66
67 bool cancelled_by_resource_throttle_; 67 bool cancelled_by_resource_throttle_;
68 }; 68 };
69 69
70 } // namespace content 70 } // namespace content
71 71
72 #endif // CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ 72 #endif // CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/sync_resource_handler.cc ('k') | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698