Chromecast: moves all service startup code to PreMainMessageLoopRun.
commitec6d20ecb9586de310cf524ec1cfa1c0111a9427
authorgunsch <gunsch@chromium.org>
Wed, 25 Feb 2015 23:10:17 +0000 (25 15:10 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 23:11:50 +0000 (25 23:11 +0000)
tree2016dfd8ea97565e84842e6cd81a458aae7da9ac
parent13d970853c63df742f471b1b4c4a66e36a831c6d
Chromecast: moves all service startup code to PreMainMessageLoopRun.

On Android, CastService::Start is never called (!). This is because
Android uses a Java-based UI message loop after
BrowserMainRunner::Initialize is completed, and BrowserMainRunner:Run is
never called (nor should it be).

See ChromeBrowserMainParts for similar handling of the Android case.

R=lcwu@chromium.org,byungchul@chromium.org
BUG=internal b/18934906

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

Cr-Commit-Position: refs/heads/master@{#318136}
chromecast/browser/cast_browser_main_parts.cc