OLD | NEW |
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 #ifndef CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ |
6 #define CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include "content/public/browser/browser_message_filter.h" | 8 #include "content/public/browser/browser_message_filter.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
9 | 10 |
10 namespace net { | 11 namespace net { |
11 class URLRequestContextGetter; | 12 class URLRequestContextGetter; |
12 } | 13 } |
13 | 14 |
14 class Profile; | 15 class Profile; |
15 | 16 |
16 // This class filters out incoming Chrome-specific benchmarking IPC messages | 17 // This class filters out incoming Chrome-specific benchmarking IPC messages |
17 // for the renderer process on the IPC thread. | 18 // for the renderer process on the IPC thread. |
18 class ChromeNetBenchmarkingMessageFilter | 19 class ChromeNetBenchmarkingMessageFilter |
(...skipping 27 matching lines...) Expand all Loading... |
46 // The Profile associated with our renderer process. This should only be | 47 // The Profile associated with our renderer process. This should only be |
47 // accessed on the UI thread! | 48 // accessed on the UI thread! |
48 Profile* profile_; | 49 Profile* profile_; |
49 scoped_refptr<net::URLRequestContextGetter> request_context_; | 50 scoped_refptr<net::URLRequestContextGetter> request_context_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(ChromeNetBenchmarkingMessageFilter); | 52 DISALLOW_COPY_AND_ASSIGN(ChromeNetBenchmarkingMessageFilter); |
52 }; | 53 }; |
53 | 54 |
54 #endif // CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ | 55 #endif // CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ |
55 | 56 |
OLD | NEW |