| 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 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 namespace gfx { | 52 namespace gfx { |
| 53 struct GpuMemoryBufferHandle; | 53 struct GpuMemoryBufferHandle; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace media { | 56 namespace media { |
| 57 class AudioManager; | 57 class AudioManager; |
| 58 struct MediaLogEvent; | 58 struct MediaLogEvent; |
| 59 } | 59 } |
| 60 | 60 |
| 61 namespace net { | 61 namespace net { |
| 62 class KeygenHandler; |
| 62 class URLRequestContext; | 63 class URLRequestContext; |
| 63 class URLRequestContextGetter; | 64 class URLRequestContextGetter; |
| 64 } | 65 } |
| 65 | 66 |
| 66 namespace content { | 67 namespace content { |
| 67 class BrowserContext; | 68 class BrowserContext; |
| 68 class DOMStorageContextWrapper; | 69 class DOMStorageContextWrapper; |
| 69 class MediaInternals; | 70 class MediaInternals; |
| 70 class RenderWidgetHelper; | 71 class RenderWidgetHelper; |
| 71 class ResourceContext; | 72 class ResourceContext; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 IPC::Message* reply_message); | 173 IPC::Message* reply_message); |
| 173 void OnAllocateLockedDiscardableSharedMemory(uint32 size, | 174 void OnAllocateLockedDiscardableSharedMemory(uint32 size, |
| 174 DiscardableSharedMemoryId id, | 175 DiscardableSharedMemoryId id, |
| 175 IPC::Message* reply_message); | 176 IPC::Message* reply_message); |
| 176 void DeletedDiscardableSharedMemoryOnFileThread(DiscardableSharedMemoryId id); | 177 void DeletedDiscardableSharedMemoryOnFileThread(DiscardableSharedMemoryId id); |
| 177 void OnDeletedDiscardableSharedMemory(DiscardableSharedMemoryId id); | 178 void OnDeletedDiscardableSharedMemory(DiscardableSharedMemoryId id); |
| 178 | 179 |
| 179 void OnCacheableMetadataAvailable(const GURL& url, | 180 void OnCacheableMetadataAvailable(const GURL& url, |
| 180 base::Time expected_response_time, | 181 base::Time expected_response_time, |
| 181 const std::vector<char>& data); | 182 const std::vector<char>& data); |
| 183 void OnKeygen(uint32 key_size_index, const std::string& challenge_string, |
| 184 const GURL& url, IPC::Message* reply_msg); |
| 185 void PostKeygenToWorkerThread(IPC::Message* reply_msg, |
| 186 scoped_ptr<net::KeygenHandler> keygen_handler); |
| 187 void OnKeygenOnWorkerThread(scoped_ptr<net::KeygenHandler> keygen_handler, |
| 188 IPC::Message* reply_msg); |
| 182 void OnMediaLogEvents(const std::vector<media::MediaLogEvent>&); | 189 void OnMediaLogEvents(const std::vector<media::MediaLogEvent>&); |
| 183 | 190 |
| 184 bool CheckBenchmarkingEnabled() const; | 191 bool CheckBenchmarkingEnabled() const; |
| 185 bool CheckPreparsedJsCachingEnabled() const; | 192 bool CheckPreparsedJsCachingEnabled() const; |
| 186 | 193 |
| 187 #if defined(OS_ANDROID) | 194 #if defined(OS_ANDROID) |
| 188 void OnWebAudioMediaCodec(base::SharedMemoryHandle encoded_data_handle, | 195 void OnWebAudioMediaCodec(base::SharedMemoryHandle encoded_data_handle, |
| 189 base::FileDescriptor pcm_output, | 196 base::FileDescriptor pcm_output, |
| 190 uint32_t data_size); | 197 uint32_t data_size); |
| 191 #endif | 198 #endif |
| (...skipping 30 matching lines...) Expand all Loading... |
| 222 | 229 |
| 223 media::AudioManager* audio_manager_; | 230 media::AudioManager* audio_manager_; |
| 224 MediaInternals* media_internals_; | 231 MediaInternals* media_internals_; |
| 225 | 232 |
| 226 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 233 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
| 227 }; | 234 }; |
| 228 | 235 |
| 229 } // namespace content | 236 } // namespace content |
| 230 | 237 |
| 231 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 238 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |