summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/dispatcher.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/renderer/dispatcher.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/renderer/dispatcher.h')
-rw-r--r--extensions/renderer/dispatcher.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 428efd7..8a9f37e 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -69,10 +69,6 @@ class Dispatcher : public content::RenderProcessObserver,
explicit Dispatcher(DispatcherDelegate* delegate);
~Dispatcher() override;
- const std::set<std::string>& function_names() const {
- return function_names_;
- }
-
const ScriptContextSet& script_context_set() const {
return *script_context_set_;
}
@@ -166,7 +162,6 @@ class Dispatcher : public content::RenderProcessObserver,
const base::ListValue& args,
bool user_gesture);
void OnSetChannel(int channel);
- void OnSetFunctionNames(const std::vector<std::string>& names);
void OnSetScriptingWhitelist(
const ExtensionsClient::ScriptingWhitelist& extension_ids);
void OnSetSystemFont(const std::string& font_family,