| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_MSG_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 const std::string& channel_name, int* port_id); | 270 const std::string& channel_name, int* port_id); |
| 271 void OnOpenChannelToTab(int routing_id, int tab_id, | 271 void OnOpenChannelToTab(int routing_id, int tab_id, |
| 272 const std::string& extension_id, | 272 const std::string& extension_id, |
| 273 const std::string& channel_name, int* port_id); | 273 const std::string& channel_name, int* port_id); |
| 274 | 274 |
| 275 void OnCloseIdleConnections(); | 275 void OnCloseIdleConnections(); |
| 276 void OnSetCacheMode(bool enabled); | 276 void OnSetCacheMode(bool enabled); |
| 277 | 277 |
| 278 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); | 278 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); |
| 279 void ReplyGetFileSize(int64 result, void* param); | 279 void ReplyGetFileSize(int64 result, void* param); |
| 280 | 280 void OnKeygen(uint32 key_size_index, const std::string& challenge_string, |
| 281 const GURL& url, std::string* signed_public_key); |
| 281 #if defined(OS_LINUX) | 282 #if defined(OS_LINUX) |
| 282 void SendDelayedReply(IPC::Message* reply_msg); | 283 void SendDelayedReply(IPC::Message* reply_msg); |
| 283 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); | 284 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); |
| 284 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 285 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
| 285 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 286 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
| 286 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, | 287 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, |
| 287 Clipboard::Buffer buffer, | 288 Clipboard::Buffer buffer, |
| 288 IPC::Message* reply_msg); | 289 IPC::Message* reply_msg); |
| 289 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); | 290 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); |
| 290 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, | 291 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 // Whether this process is used for off the record tabs. | 375 // Whether this process is used for off the record tabs. |
| 375 bool off_the_record_; | 376 bool off_the_record_; |
| 376 | 377 |
| 377 // A callback to create a routing id for the associated renderer process. | 378 // A callback to create a routing id for the associated renderer process. |
| 378 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; | 379 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |
| 379 | 380 |
| 380 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 381 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
| 381 }; | 382 }; |
| 382 | 383 |
| 383 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ | 384 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
| OLD | NEW |