| 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_WORKER_HOST_WORKER_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ |
| 6 #define CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 const string16& display_name, | 200 const string16& display_name, |
| 201 unsigned long estimated_size, | 201 unsigned long estimated_size, |
| 202 bool* result); | 202 bool* result); |
| 203 void OnAllowFileSystem(int worker_route_id, | 203 void OnAllowFileSystem(int worker_route_id, |
| 204 const GURL& url, | 204 const GURL& url, |
| 205 bool* result); | 205 bool* result); |
| 206 void OnAllowIndexedDB(int worker_route_id, | 206 void OnAllowIndexedDB(int worker_route_id, |
| 207 const GURL& url, | 207 const GURL& url, |
| 208 const string16& name, | 208 const string16& name, |
| 209 bool* result); | 209 bool* result); |
| 210 void OnForceKillWorkerProcess(); |
| 210 | 211 |
| 211 // Relays a message to the given endpoint. Takes care of parsing the message | 212 // Relays a message to the given endpoint. Takes care of parsing the message |
| 212 // if it contains a message port and sending it a valid route id. | 213 // if it contains a message port and sending it a valid route id. |
| 213 void RelayMessage(const IPC::Message& message, | 214 void RelayMessage(const IPC::Message& message, |
| 214 WorkerMessageFilter* filter, | 215 WorkerMessageFilter* filter, |
| 215 int route_id); | 216 int route_id); |
| 216 | 217 |
| 217 void ShutdownSocketStreamDispatcherHostIfNecessary(); | 218 void ShutdownSocketStreamDispatcherHostIfNecessary(); |
| 218 | 219 |
| 219 virtual bool CanShutdown() OVERRIDE; | 220 virtual bool CanShutdown() OVERRIDE; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 public: | 255 public: |
| 255 WorkerProcessHostIterator() | 256 WorkerProcessHostIterator() |
| 256 : BrowserChildProcessHostTypeIterator<WorkerProcessHost>( | 257 : BrowserChildProcessHostTypeIterator<WorkerProcessHost>( |
| 257 PROCESS_TYPE_WORKER) { | 258 PROCESS_TYPE_WORKER) { |
| 258 } | 259 } |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 } // namespace content | 262 } // namespace content |
| 262 | 263 |
| 263 #endif // CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ | 264 #endif // CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ |
| OLD | NEW |