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

Side by Side Diff: content/common/worker_messages.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 // Defines messages between the browser and worker process, as well as between 5 // Defines messages between the browser and worker process, as well as between
6 // the renderer and worker process. 6 // the renderer and worker process.
7 7
8 // Multiply-included message file, hence no include guard. 8 // Multiply-included message file, hence no include guard.
9 9
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // allowed. 60 // allowed.
61 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase, 61 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase,
62 int /* worker_route_id */, 62 int /* worker_route_id */,
63 GURL /* origin url */, 63 GURL /* origin url */,
64 base::string16 /* database name */, 64 base::string16 /* database name */,
65 base::string16 /* database display name */, 65 base::string16 /* database display name */,
66 unsigned long /* estimated size */, 66 unsigned long /* estimated size */,
67 bool /* result */) 67 bool /* result */)
68 68
69 // Sent by the worker process to check whether access to file system is allowed. 69 // Sent by the worker process to check whether access to file system is allowed.
70 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem, 70 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_RequestFileSystemAccessSync,
71 int /* worker_route_id */, 71 int /* worker_route_id */,
72 GURL /* origin url */, 72 GURL /* origin url */,
73 bool /* result */) 73 bool /* result */)
74 74
75 // Sent by the worker process to check whether access to IndexedDB is allowed. 75 // Sent by the worker process to check whether access to IndexedDB is allowed.
76 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB, 76 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB,
77 int /* worker_route_id */, 77 int /* worker_route_id */,
78 GURL /* origin url */, 78 GURL /* origin url */,
79 base::string16 /* database name */, 79 base::string16 /* database name */,
80 bool /* result */) 80 bool /* result */)
(...skipping 26 matching lines...) Expand all
107 107
108 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoaded, 108 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoaded,
109 int /* worker_route_id */) 109 int /* worker_route_id */)
110 110
111 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoadFailed, 111 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoadFailed,
112 int /* worker_route_id */) 112 int /* worker_route_id */)
113 113
114 IPC_MESSAGE_CONTROL2(WorkerHostMsg_WorkerConnected, 114 IPC_MESSAGE_CONTROL2(WorkerHostMsg_WorkerConnected,
115 int /* message_port_id */, 115 int /* message_port_id */,
116 int /* worker_route_id */) 116 int /* worker_route_id */)
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/shared_worker_permission_client_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698