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

Unified Diff: content/common/view_messages.h

Issue 2600113003: (SUSPENDED) SharedWorker: Mojofy Renderer(Document)->Browser communication for SharedWorker
Patch Set: address review comments Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 3c9d75ea306e3d7252911a1d2c143cabbf2caf7d..1160bfce84fa92645571ecaff3ac4174d9cb6735 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -289,42 +289,6 @@ IPC_STRUCT_TRAITS_BEGIN(content::TextInputState)
IPC_STRUCT_TRAITS_MEMBER(is_non_ime_change)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
- // URL for the worker script.
- IPC_STRUCT_MEMBER(GURL, url)
-
- // Name for a SharedWorker, otherwise empty string.
- IPC_STRUCT_MEMBER(base::string16, name)
-
- // Security policy used in the worker.
- IPC_STRUCT_MEMBER(base::string16, content_security_policy)
-
- // Security policy type used in the worker.
- IPC_STRUCT_MEMBER(blink::WebContentSecurityPolicyType, security_policy_type)
-
- // The ID of the parent document (unique within parent renderer).
- IPC_STRUCT_MEMBER(unsigned long long, document_id)
-
- // RenderFrame routing id used to send messages back to the parent.
- IPC_STRUCT_MEMBER(int, render_frame_route_id)
-
- // Address space of the context that created the worker.
- IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space)
-
- // The type (secure or nonsecure) of the context that created the worker.
- IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType,
- creation_context_type)
-IPC_STRUCT_END()
-
-IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply)
- // The route id for the created worker.
- IPC_STRUCT_MEMBER(int, route_id)
-
- // The error that occurred, if the browser failed to create the
- // worker.
- IPC_STRUCT_MEMBER(blink::WebWorkerCreationError, error)
-IPC_STRUCT_END()
-
IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params)
IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type)
IPC_STRUCT_MEMBER(double, dialog_value)
@@ -685,26 +649,6 @@ IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy,
bool /* result */,
std::string /* proxy list */)
-// A renderer sends this to the browser process when it wants to create a
-// worker. The browser will create the worker process if necessary, and
-// will return the route id on in the reply on success. On error returns
-// MSG_ROUTING_NONE and an error type.
-IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker,
- ViewHostMsg_CreateWorker_Params,
- ViewHostMsg_CreateWorker_Reply)
-
-// A renderer sends this to the browser process when a document has been
-// detached. The browser will use this to constrain the lifecycle of worker
-// processes (SharedWorkers are shut down when their last associated document
-// is detached).
-IPC_MESSAGE_CONTROL1(ViewHostMsg_DocumentDetached, uint64_t /* document_id */)
-
-// A renderer sends this to the browser process when it wants to connect to a
-// worker.
-IPC_MESSAGE_CONTROL2(ViewHostMsg_ConnectToWorker,
- int /* route_id */,
- int /* sent_message_port_id */)
-
// Tells the browser that a specific Appcache manifest in the current page
// was accessed.
IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed,

Powered by Google App Engine
This is Rietveld 408576698