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 "base/macros.h" |
8 #include "content/public/browser/browser_message_filter.h" | 9 #include "content/public/browser/browser_message_filter.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. |
(...skipping 23 matching lines...) Expand all Loading... |
41 // The Profile associated with our renderer process. This should only be | 42 // The Profile associated with our renderer process. This should only be |
42 // accessed on the UI thread! | 43 // accessed on the UI thread! |
43 Profile* profile_; | 44 Profile* profile_; |
44 scoped_refptr<net::URLRequestContextGetter> request_context_; | 45 scoped_refptr<net::URLRequestContextGetter> request_context_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(ChromeNetBenchmarkingMessageFilter); | 47 DISALLOW_COPY_AND_ASSIGN(ChromeNetBenchmarkingMessageFilter); |
47 }; | 48 }; |
48 | 49 |
49 #endif // CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ | 50 #endif // CHROME_BROWSER_CHROME_NET_BENCHMARKING_MESSAGE_FILTER_H_ |
50 | 51 |
OLD | NEW |