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

Unified Diff: trunk/src/extensions/common/extension_messages.h

Issue 307933008: Revert 273866 "Block content scripts from executing until user g..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/extensions/common/extension_messages.h
===================================================================
--- trunk/src/extensions/common/extension_messages.h (revision 274101)
+++ trunk/src/extensions/common/extension_messages.h (working copy)
@@ -359,11 +359,8 @@
// Notification that the user scripts have been updated. It has one
// SharedMemoryHandle argument consisting of the pickled script data. This
// handle is valid in the context of the renderer.
-// If |changed_extensions| is not empty, only the extensions in that set will
-// be updated. Otherwise, all extensions will be updated.
-IPC_MESSAGE_CONTROL2(ExtensionMsg_UpdateUserScripts,
- base::SharedMemoryHandle,
- std::set<std::string> /* changed extensions */)
+IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdateUserScripts,
+ base::SharedMemoryHandle)
// Tell the render view which browser window it's being attached to.
IPC_MESSAGE_ROUTED1(ExtensionMsg_UpdateBrowserWindowId,
@@ -575,22 +572,10 @@
int32 /* page_id of the _topmost_ frame */,
GURL /* url of the _topmost_ frame */)
-// Sent from the renderer to the browser to request permission for a content
-// script to execute on a given page.
-// If request id is -1, this signals that the request has already ran, and this
-// merely serves as a notification. This happens when the feature to disable
-// scripts running without user consent is not enabled.
-IPC_MESSAGE_ROUTED3(ExtensionHostMsg_RequestContentScriptPermission,
+IPC_MESSAGE_ROUTED2(ExtensionHostMsg_NotifyExtensionScriptExecution,
std::string /* extension id */,
- int /* page id */,
- int /* request id */)
+ int /* page id */)
-// Sent from the browser to the renderer in reply to a
-// RequestContentScriptPermission message, granting permission for a content
-// script to run.
-IPC_MESSAGE_ROUTED1(ExtensionMsg_GrantContentScriptPermission,
- int /* request id */)
-
// Sent by the renderer when a web page is checking if its app is installed.
IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState,
GURL /* requestor_url */,
« no previous file with comments | « trunk/src/chrome/browser/extensions/user_script_master.cc ('k') | trunk/src/extensions/common/permissions/permissions_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698