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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 RenderWidgetHelper* render_widget_helper, | 94 RenderWidgetHelper* render_widget_helper, |
95 media::AudioManager* audio_manager, | 95 media::AudioManager* audio_manager, |
96 MediaInternals* media_internals, | 96 MediaInternals* media_internals, |
97 DOMStorageContextWrapper* dom_storage_context); | 97 DOMStorageContextWrapper* dom_storage_context); |
98 | 98 |
99 // IPC::MessageFilter methods: | 99 // IPC::MessageFilter methods: |
100 virtual void OnChannelClosing() OVERRIDE; | 100 virtual void OnChannelClosing() OVERRIDE; |
101 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 101 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
102 | 102 |
103 // BrowserMessageFilter methods: | 103 // BrowserMessageFilter methods: |
104 virtual bool OnMessageReceived(const IPC::Message& message, | 104 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
105 bool* message_was_ok) OVERRIDE; | |
106 virtual void OnDestruct() const OVERRIDE; | 105 virtual void OnDestruct() const OVERRIDE; |
107 virtual base::TaskRunner* OverrideTaskRunnerForMessage( | 106 virtual base::TaskRunner* OverrideTaskRunnerForMessage( |
108 const IPC::Message& message) OVERRIDE; | 107 const IPC::Message& message) OVERRIDE; |
109 | 108 |
110 bool OffTheRecord() const; | 109 bool OffTheRecord() const; |
111 | 110 |
112 int render_process_id() const { return render_process_id_; } | 111 int render_process_id() const { return render_process_id_; } |
113 | 112 |
114 // Returns the correct net::CookieStore depending on what type of url is | 113 // Returns the correct net::CookieStore depending on what type of url is |
115 // given. | 114 // given. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 #if defined(OS_MACOSX) | 322 #if defined(OS_MACOSX) |
324 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; | 323 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; |
325 #endif | 324 #endif |
326 | 325 |
327 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 326 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
328 }; | 327 }; |
329 | 328 |
330 } // namespace content | 329 } // namespace content |
331 | 330 |
332 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 331 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |