| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void AllocateLockedDiscardableSharedMemoryOnFileThread( | 164 void AllocateLockedDiscardableSharedMemoryOnFileThread( |
| 165 uint32_t size, | 165 uint32_t size, |
| 166 DiscardableSharedMemoryId id, | 166 DiscardableSharedMemoryId id, |
| 167 IPC::Message* reply_message); | 167 IPC::Message* reply_message); |
| 168 void OnAllocateLockedDiscardableSharedMemory(uint32_t size, | 168 void OnAllocateLockedDiscardableSharedMemory(uint32_t size, |
| 169 DiscardableSharedMemoryId id, | 169 DiscardableSharedMemoryId id, |
| 170 IPC::Message* reply_message); | 170 IPC::Message* reply_message); |
| 171 void DeletedDiscardableSharedMemoryOnFileThread(DiscardableSharedMemoryId id); | 171 void DeletedDiscardableSharedMemoryOnFileThread(DiscardableSharedMemoryId id); |
| 172 void OnDeletedDiscardableSharedMemory(DiscardableSharedMemoryId id); | 172 void OnDeletedDiscardableSharedMemory(DiscardableSharedMemoryId id); |
| 173 | 173 |
| 174 #if defined(OS_LINUX) |
| 175 void SetThreadPriorityOnFileThread(base::PlatformThreadId ns_tid, |
| 176 base::ThreadPriority priority); |
| 177 void OnSetThreadPriority(base::PlatformThreadId ns_tid, |
| 178 base::ThreadPriority priority); |
| 179 #endif |
| 180 |
| 174 void OnCacheableMetadataAvailable(const GURL& url, | 181 void OnCacheableMetadataAvailable(const GURL& url, |
| 175 base::Time expected_response_time, | 182 base::Time expected_response_time, |
| 176 const std::vector<char>& data); | 183 const std::vector<char>& data); |
| 177 void OnCacheableMetadataAvailableForCacheStorage( | 184 void OnCacheableMetadataAvailableForCacheStorage( |
| 178 const GURL& url, | 185 const GURL& url, |
| 179 base::Time expected_response_time, | 186 base::Time expected_response_time, |
| 180 const std::vector<char>& data, | 187 const std::vector<char>& data, |
| 181 const url::Origin& cache_storage_origin, | 188 const url::Origin& cache_storage_origin, |
| 182 const std::string& cache_storage_cache_name); | 189 const std::string& cache_storage_cache_name); |
| 183 void OnCacheStorageOpenCallback( | 190 void OnCacheStorageOpenCallback( |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 CacheStorageContextImpl* cache_storage_context_; | 245 CacheStorageContextImpl* cache_storage_context_; |
| 239 | 246 |
| 240 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; | 247 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; |
| 241 | 248 |
| 242 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 249 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
| 243 }; | 250 }; |
| 244 | 251 |
| 245 } // namespace content | 252 } // namespace content |
| 246 | 253 |
| 247 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 254 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |