OLD | NEW |
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 CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 private: | 33 private: |
34 virtual ~PrerenderResourceThrottle(); | 34 virtual ~PrerenderResourceThrottle(); |
35 | 35 |
36 void ContinueRequest(bool proceed); | 36 void ContinueRequest(bool proceed); |
37 | 37 |
38 PrerenderTracker* prerender_tracker_; | 38 PrerenderTracker* prerender_tracker_; |
39 const net::URLRequest* request_; | 39 const net::URLRequest* request_; |
40 int child_id_; | 40 int child_id_; |
41 int route_id_; | 41 int route_id_; |
42 int request_id_; | |
43 | 42 |
44 DISALLOW_COPY_AND_ASSIGN(PrerenderResourceThrottle); | 43 DISALLOW_COPY_AND_ASSIGN(PrerenderResourceThrottle); |
45 }; | 44 }; |
46 | 45 |
47 } // namespace prerender | 46 } // namespace prerender |
48 | 47 |
49 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ | 48 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RESOURCE_THROTTLE_H_ |
OLD | NEW |