Move Extension ScriptContext creation into ScriptContextSet.
commit75605c7fca774b95984ba67f70ba86bb5750c0f6
authorkalman <kalman@chromium.org>
Fri, 13 Mar 2015 23:07:21 +0000 (13 16:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Mar 2015 23:07:59 +0000 (13 23:07 +0000)
treeab479b9632a18752caf4474b8affcf41e20d4317
parent563658b3d68b39fc2d5e8109c3e0b5b1b53f6409
Move Extension ScriptContext creation into ScriptContextSet.

Previously extensions::Dispatcher was responsible for creating ScriptContexts
then Adding them to its ScriptContextSet. Now, ScriptContextSet creates them
itself. This prepares the Extension system for later changing to lazily or
asynchronously creating ScriptContexts.

BUG=466373
R=rockot@chromium.org

Review URL: https://codereview.chromium.org/995283004

Cr-Commit-Position: refs/heads/master@{#320602}
chrome/renderer/extensions/webstore_bindings.cc
chrome/renderer/extensions/webstore_bindings.h
extensions/renderer/dispatcher.cc
extensions/renderer/dispatcher.h
extensions/renderer/document_custom_bindings.cc
extensions/renderer/request_sender.cc
extensions/renderer/script_context.cc
extensions/renderer/script_context.h
extensions/renderer/script_context_set.cc
extensions/renderer/script_context_set.h
extensions/renderer/script_context_set_unittest.cc