Revert of Move Extension ScriptContext creation into ScriptContextSet. (patchset...
commit77b04119ea854383d55a614fb99b9e808ac82f91
authorkalman <kalman@chromium.org>
Mon, 16 Mar 2015 21:20:44 +0000 (16 14:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 16 Mar 2015 21:21:36 +0000 (16 21:21 +0000)
tree318feb6dddb96bf6fda347b8db7ecfd847d5b60c
parentc02ec7c414fe2727c636abb457268f3195008b07
Revert of Move Extension ScriptContext creation into ScriptContextSet. (patchset #4 id:60001 of https://codereview.chromium.org/995283004/)

Reason for revert:
Memory failure in ScriptContextTest.GinRunnerLifetime.

Original issue's description:
> 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
>
> Committed: https://crrev.com/75605c7fca774b95984ba67f70ba86bb5750c0f6
> Cr-Commit-Position: refs/heads/master@{#320602}
>
> Committed: https://crrev.com/52f4caf6d01302ebf42136b42fa77d1c67d93ae9
> Cr-Commit-Position: refs/heads/master@{#320770}

TBR=rockot@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=466373

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

Cr-Commit-Position: refs/heads/master@{#320794}
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