| 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_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace content_settings { | 33 namespace content_settings { |
| 34 class CookieSettings; | 34 class CookieSettings; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace network_hints { | 37 namespace network_hints { |
| 38 struct LookupRequest; | 38 struct LookupRequest; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace extensions { | |
| 42 class InfoMap; | |
| 43 } | |
| 44 | |
| 45 // This class filters out incoming Chrome-specific IPC messages for the renderer | 41 // This class filters out incoming Chrome-specific IPC messages for the renderer |
| 46 // process on the IPC thread. | 42 // process on the IPC thread. |
| 47 class ChromeRenderMessageFilter : public content::BrowserMessageFilter { | 43 class ChromeRenderMessageFilter : public content::BrowserMessageFilter { |
| 48 public: | 44 public: |
| 49 ChromeRenderMessageFilter( | 45 ChromeRenderMessageFilter( |
| 50 int render_process_id, | 46 int render_process_id, |
| 51 Profile* profile, | 47 Profile* profile, |
| 52 content::ServiceWorkerContext* service_worker_context); | 48 content::ServiceWorkerContext* service_worker_context); |
| 53 | 49 |
| 54 // content::BrowserMessageFilter methods: | 50 // content::BrowserMessageFilter methods: |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // Used to look up permissions at database creation time. | 140 // Used to look up permissions at database creation time. |
| 145 scoped_refptr<content_settings::CookieSettings> cookie_settings_; | 141 scoped_refptr<content_settings::CookieSettings> cookie_settings_; |
| 146 | 142 |
| 147 // Used to start Service Workers for navigation hints. | 143 // Used to start Service Workers for navigation hints. |
| 148 content::ServiceWorkerContext* service_worker_context_; | 144 content::ServiceWorkerContext* service_worker_context_; |
| 149 | 145 |
| 150 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 146 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
| 151 }; | 147 }; |
| 152 | 148 |
| 153 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 149 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |