| 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 class ResourceDispatcherHostImpl; | 86 class ResourceDispatcherHostImpl; |
| 87 struct Referrer; | 87 struct Referrer; |
| 88 struct WebPluginInfo; | 88 struct WebPluginInfo; |
| 89 | 89 |
| 90 // This class filters out incoming IPC messages for the renderer process on the | 90 // This class filters out incoming IPC messages for the renderer process on the |
| 91 // IPC thread. | 91 // IPC thread. |
| 92 class CONTENT_EXPORT RenderMessageFilter : public BrowserMessageFilter { | 92 class CONTENT_EXPORT RenderMessageFilter : public BrowserMessageFilter { |
| 93 public: | 93 public: |
| 94 // Create the filter. | 94 // Create the filter. |
| 95 RenderMessageFilter(int render_process_id, | 95 RenderMessageFilter(int render_process_id, |
| 96 PluginServiceImpl * plugin_service, | 96 PluginServiceImpl* plugin_service, |
| 97 BrowserContext* browser_context, | 97 BrowserContext* browser_context, |
| 98 net::URLRequestContextGetter* request_context, | 98 net::URLRequestContextGetter* request_context, |
| 99 RenderWidgetHelper* render_widget_helper, | 99 RenderWidgetHelper* render_widget_helper, |
| 100 media::AudioManager* audio_manager, | 100 media::AudioManager* audio_manager, |
| 101 MediaInternals* media_internals, | 101 MediaInternals* media_internals, |
| 102 DOMStorageContextWrapper* dom_storage_context); | 102 DOMStorageContextWrapper* dom_storage_context); |
| 103 | 103 |
| 104 // IPC::MessageFilter methods: | 104 // IPC::MessageFilter methods: |
| 105 void OnChannelClosing() override; | 105 void OnChannelClosing() override; |
| 106 | 106 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 337 |
| 338 media::AudioManager* audio_manager_; | 338 media::AudioManager* audio_manager_; |
| 339 MediaInternals* media_internals_; | 339 MediaInternals* media_internals_; |
| 340 | 340 |
| 341 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 341 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
| 342 }; | 342 }; |
| 343 | 343 |
| 344 } // namespace content | 344 } // namespace content |
| 345 | 345 |
| 346 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 346 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |