summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_messages.h
diff options
context:
space:
mode:
authorkalman <kalman@chromium.org>2015-09-02 14:16:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-02 21:17:20 +0000
commitcb12bbefef3fea1f602469fa944365e952e15301 (patch)
treea66800530911317ecfcd62032321efa90b0bfb29 /extensions/common/extension_messages.h
parent948c552934903bff72723cd9299b6d0feedf4562 (diff)
downloadchromium_src-cb12bbefef3fea1f602469fa944365e952e15301.zip
chromium_src-cb12bbefef3fea1f602469fa944365e952e15301.tar.gz
chromium_src-cb12bbefef3fea1f602469fa944365e952e15301.tar.bz2
Don't send extension functions names to every renderer.
It's wasteful, because there are a lot of extension names. It's unnecessary, just a boring sanity check that will never be triggered in sane circumstances, and if it is, the security check is done on the browser process anyway. R=rdevlin.cronin@chromium.org, palmer@chromium.org Review URL: https://codereview.chromium.org/1327673003 Cr-Commit-Position: refs/heads/master@{#347024}
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r--extensions/common/extension_messages.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index 462ef36..d78ada4 100644
--- a/extensions/common/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -413,10 +413,6 @@ IPC_MESSAGE_ROUTED5(ExtensionMsg_MessageInvoke,
base::ListValue /* args */,
bool /* delivered as part of a user gesture */)
-// Tell the renderer process all known extension function names.
-IPC_MESSAGE_CONTROL1(ExtensionMsg_SetFunctionNames,
- std::vector<std::string>)
-
// Set the top-level frame to the provided name.
IPC_MESSAGE_ROUTED1(ExtensionMsg_SetFrameName,
std::string /* frame_name */)