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_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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 void OnLaunchNaCl(const std::wstring& url, | 166 void OnLaunchNaCl(const std::wstring& url, |
167 int channel_descriptor, | 167 int channel_descriptor, |
168 nacl::FileDescriptor* handle, | 168 nacl::FileDescriptor* handle, |
169 base::ProcessHandle* nacl_process_handle, | 169 base::ProcessHandle* nacl_process_handle, |
170 base::ProcessId* nacl_process_id); | 170 base::ProcessId* nacl_process_id); |
171 void OnCreateWorker(const GURL& url, | 171 void OnCreateWorker(const GURL& url, |
172 bool is_shared, | 172 bool is_shared, |
173 const string16& name, | 173 const string16& name, |
174 int render_view_route_id, | 174 int render_view_route_id, |
175 int* route_id); | 175 int* route_id); |
| 176 void OnLookupSharedWorker(const GURL& url, |
| 177 const string16& name, |
| 178 unsigned long long document_id, |
| 179 int* route_id, |
| 180 bool* url_error); |
| 181 void OnDocumentDetached(unsigned long long document_id); |
176 void OnCancelCreateDedicatedWorker(int route_id); | 182 void OnCancelCreateDedicatedWorker(int route_id); |
177 void OnForwardToWorker(const IPC::Message& msg); | 183 void OnForwardToWorker(const IPC::Message& msg); |
178 void OnDownloadUrl(const IPC::Message& message, | 184 void OnDownloadUrl(const IPC::Message& message, |
179 const GURL& url, | 185 const GURL& url, |
180 const GURL& referrer); | 186 const GURL& referrer); |
181 void OnSpellCheck(const string16& word, int tag, IPC::Message* reply_msg); | 187 void OnSpellCheck(const string16& word, int tag, IPC::Message* reply_msg); |
182 void OnGetDocumentTag(IPC::Message* reply_msg); | 188 void OnGetDocumentTag(IPC::Message* reply_msg); |
183 void OnDocumentWithTagClosed(int tag); | 189 void OnDocumentWithTagClosed(int tag); |
184 void OnGetAutoCorrectWord(const string16& word, int tag, | 190 void OnGetAutoCorrectWord(const string16& word, int tag, |
185 IPC::Message* reply_msg); | 191 IPC::Message* reply_msg); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 // Whether this process is used for off the record tabs. | 401 // Whether this process is used for off the record tabs. |
396 bool off_the_record_; | 402 bool off_the_record_; |
397 | 403 |
398 // A callback to create a routing id for the associated renderer process. | 404 // A callback to create a routing id for the associated renderer process. |
399 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; | 405 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |
400 | 406 |
401 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 407 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
402 }; | 408 }; |
403 | 409 |
404 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 410 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
OLD | NEW |