Chromium Code Reviews
Descriptionaw: Move thread hop code to ProviderFactory
So that the thread hopping code can be used from entry points other
than WebViewChromium.
Large CL, but mostly no-op. Moved these to ProivderFactory:
WebViewChromiumRunQueue
runBlockingFuture
runVoidTaskOnUiThreadBlocking
runOnUiThreadBlocking
addTask
Now FactoryProvider no longer needs to keep a list of WebViewChromiums
yet to be started. So remove all that logic along with startYourEngine,
and no longer need to drainQueue.
Subtle change in behavior is tasks for a single WebViewChromium used to
be grouped together and now are all appended to a single queue that's
drained at start up. This should not cause problems.
BUG=630709
Committed: https://crrev.com/fbfe162dd52f7901535ceb70edf719ef4a692046
Cr-Commit-Position: refs/heads/master@{#407848}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||