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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 const std::string& channel_name, int* port_id); | 266 const std::string& channel_name, int* port_id); |
267 void OnOpenChannelToTab(int routing_id, int tab_id, | 267 void OnOpenChannelToTab(int routing_id, int tab_id, |
268 const std::string& extension_id, | 268 const std::string& extension_id, |
269 const std::string& channel_name, int* port_id); | 269 const std::string& channel_name, int* port_id); |
270 | 270 |
271 void OnCloseIdleConnections(); | 271 void OnCloseIdleConnections(); |
272 void OnSetCacheMode(bool enabled); | 272 void OnSetCacheMode(bool enabled); |
273 | 273 |
274 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); | 274 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); |
275 void ReplyGetFileSize(int64 result, void* param); | 275 void ReplyGetFileSize(int64 result, void* param); |
276 | 276 void OnKeygen(uint32 key_size_index, const std::string& challenge_string, |
| 277 const GURL& url, std::string* signed_public_key); |
277 #if defined(OS_LINUX) | 278 #if defined(OS_LINUX) |
278 void SendDelayedReply(IPC::Message* reply_msg); | 279 void SendDelayedReply(IPC::Message* reply_msg); |
279 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); | 280 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); |
280 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 281 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
281 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 282 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
282 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, | 283 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, |
283 Clipboard::Buffer buffer, | 284 Clipboard::Buffer buffer, |
284 IPC::Message* reply_msg); | 285 IPC::Message* reply_msg); |
285 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); | 286 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); |
286 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, | 287 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // Whether this process is used for off the record tabs. | 367 // Whether this process is used for off the record tabs. |
367 bool off_the_record_; | 368 bool off_the_record_; |
368 | 369 |
369 // A callback to create a routing id for the associated renderer process. | 370 // A callback to create a routing id for the associated renderer process. |
370 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; | 371 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |
371 | 372 |
372 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 373 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
373 }; | 374 }; |
374 | 375 |
375 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ | 376 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
OLD | NEW |