| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_RESOURCE_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); | 325 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); |
| 326 void OnGetFileModificationTime(const FilePath& path, IPC::Message* reply_msg); | 326 void OnGetFileModificationTime(const FilePath& path, IPC::Message* reply_msg); |
| 327 void OnGetFileInfoOnFileThread(const FilePath& path, | 327 void OnGetFileInfoOnFileThread(const FilePath& path, |
| 328 IPC::Message* reply_msg, | 328 IPC::Message* reply_msg, |
| 329 FileInfoWriteFunc write_func); | 329 FileInfoWriteFunc write_func); |
| 330 void OnOpenFile(const FilePath& path, int mode,IPC::Message* reply_msg); | 330 void OnOpenFile(const FilePath& path, int mode,IPC::Message* reply_msg); |
| 331 void OnOpenFileOnFileThread(const FilePath& path, | 331 void OnOpenFileOnFileThread(const FilePath& path, |
| 332 int mode, | 332 int mode, |
| 333 IPC::Message* reply_msg); | 333 IPC::Message* reply_msg); |
| 334 void OnKeygen(uint32 key_size_index, const std::string& challenge_string, | 334 void OnKeygen(uint32 key_size_index, const std::string& challenge_string, |
| 335 const GURL& url, std::string* signed_public_key); | 335 const GURL& url, IPC::Message* reply_msg); |
| 336 void OnKeygenOnWorkerThread( |
| 337 int key_size_in_bits, |
| 338 const std::string& challenge_string, |
| 339 IPC::Message* reply_msg); |
| 336 void OnGetExtensionMessageBundle(const std::string& extension_id, | 340 void OnGetExtensionMessageBundle(const std::string& extension_id, |
| 337 IPC::Message* reply_msg); | 341 IPC::Message* reply_msg); |
| 338 void OnGetExtensionMessageBundleOnFileThread( | 342 void OnGetExtensionMessageBundleOnFileThread( |
| 339 const FilePath& extension_path, | 343 const FilePath& extension_path, |
| 340 const std::string& extension_id, | 344 const std::string& extension_id, |
| 341 const std::string& default_locale, | 345 const std::string& default_locale, |
| 342 IPC::Message* reply_msg); | 346 IPC::Message* reply_msg); |
| 343 void OnEstablishGpuChannel(); | 347 void OnEstablishGpuChannel(); |
| 344 void OnSynchronizeGpu(IPC::Message* reply); | 348 void OnSynchronizeGpu(IPC::Message* reply); |
| 345 | 349 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 // A callback to create a routing id for the associated renderer process. | 436 // A callback to create a routing id for the associated renderer process. |
| 433 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; | 437 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |
| 434 | 438 |
| 435 // Used to handle geolocation-related messages. | 439 // Used to handle geolocation-related messages. |
| 436 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 440 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 437 | 441 |
| 438 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 442 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
| 439 }; | 443 }; |
| 440 | 444 |
| 441 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 445 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
| OLD | NEW |