Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: content/browser/worker_host/worker_process_host.h

Issue 273513005: Avoid sync IPCs for FileSystem API [chromium] (2/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void OnWorkerContextDestroyed(int worker_route_id); 217 void OnWorkerContextDestroyed(int worker_route_id);
218 void OnWorkerScriptLoaded(int worker_route_id); 218 void OnWorkerScriptLoaded(int worker_route_id);
219 void OnWorkerScriptLoadFailed(int worker_route_id); 219 void OnWorkerScriptLoadFailed(int worker_route_id);
220 void OnWorkerConnected(int message_port_id, int worker_route_id); 220 void OnWorkerConnected(int message_port_id, int worker_route_id);
221 void OnAllowDatabase(int worker_route_id, 221 void OnAllowDatabase(int worker_route_id,
222 const GURL& url, 222 const GURL& url,
223 const base::string16& name, 223 const base::string16& name,
224 const base::string16& display_name, 224 const base::string16& display_name,
225 unsigned long estimated_size, 225 unsigned long estimated_size,
226 bool* result); 226 bool* result);
227 void OnAllowFileSystem(int worker_route_id, 227 void OnRequestFileSystemAccessSync(int worker_route_id,
228 const GURL& url, 228 const GURL& url,
229 bool* result); 229 bool* result);
230 void OnAllowIndexedDB(int worker_route_id, 230 void OnAllowIndexedDB(int worker_route_id,
231 const GURL& url, 231 const GURL& url,
232 const base::string16& name, 232 const base::string16& name,
233 bool* result); 233 bool* result);
234 void OnForceKillWorkerProcess(); 234 void OnForceKillWorkerProcess();
235 235
236 // Relays a message to the given endpoint. Takes care of parsing the message 236 // Relays a message to the given endpoint. Takes care of parsing the message
237 // if it contains a message port and sending it a valid route id. 237 // if it contains a message port and sending it a valid route id.
238 void RelayMessage(const IPC::Message& message, 238 void RelayMessage(const IPC::Message& message,
239 WorkerMessageFilter* incoming_filter, 239 WorkerMessageFilter* incoming_filter,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 public: 279 public:
280 WorkerProcessHostIterator() 280 WorkerProcessHostIterator()
281 : BrowserChildProcessHostTypeIterator<WorkerProcessHost>( 281 : BrowserChildProcessHostTypeIterator<WorkerProcessHost>(
282 PROCESS_TYPE_WORKER) { 282 PROCESS_TYPE_WORKER) {
283 } 283 }
284 }; 284 };
285 285
286 } // namespace content 286 } // namespace content
287 287
288 #endif // CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ 288 #endif // CONTENT_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/shared_worker/shared_worker_message_filter.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698