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

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

Issue 11343017: Move remaining files in content\browser\renderer_host to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 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 | 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_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_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/renderer_host/layered_resource_handler.h"
(...skipping 14 matching lines...) Expand all
25 int child_id, 25 int child_id,
26 int request_id, 26 int request_id,
27 ScopedVector<ResourceThrottle> throttles); 27 ScopedVector<ResourceThrottle> throttles);
28 virtual ~ThrottlingResourceHandler(); 28 virtual ~ThrottlingResourceHandler();
29 29
30 // LayeredResourceHandler overrides: 30 // LayeredResourceHandler overrides:
31 virtual bool OnRequestRedirected(int request_id, const GURL& url, 31 virtual bool OnRequestRedirected(int request_id, const GURL& url,
32 ResourceResponse* response, 32 ResourceResponse* response,
33 bool* defer) OVERRIDE; 33 bool* defer) OVERRIDE;
34 virtual bool OnResponseStarted(int request_id, 34 virtual bool OnResponseStarted(int request_id,
35 content::ResourceResponse* response, 35 ResourceResponse* response,
36 bool* defer) OVERRIDE; 36 bool* defer) OVERRIDE;
37 virtual bool OnWillStart(int request_id, const GURL& url, 37 virtual bool OnWillStart(int request_id, const GURL& url,
38 bool* defer) OVERRIDE; 38 bool* defer) OVERRIDE;
39 39
40 // ResourceThrottleController implementation: 40 // ResourceThrottleController implementation:
41 virtual void Cancel() OVERRIDE; 41 virtual void Cancel() OVERRIDE;
42 virtual void CancelAndIgnore() OVERRIDE; 42 virtual void CancelAndIgnore() OVERRIDE;
43 virtual void CancelWithError(int error_code) OVERRIDE; 43 virtual void CancelWithError(int error_code) OVERRIDE;
44 virtual void Resume() OVERRIDE; 44 virtual void Resume() OVERRIDE;
45 45
(...skipping 17 matching lines...) Expand all
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_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/text_input_client_message_filter.mm ('k') | content/browser/renderer_host/touch_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698