chromeos: Prepare browsertests for PostTask refactor
This delays initialization of MockMediaRouters in chromeos tests until the browser's task executor is initialized. This is required for the upcoming move of BrowserThread::GetTaskRunnerForThread to base::Create*TaskRunnerWithTraits. In the future, TaskRunners can only be obtained after thread initialization. Since MockMediaRouter obtains a TaskRunner in its constructor, this patch moves its creation. TBR=mtomasz@chromium.org,dominickn@chromium.org Bug: 878356 Change-Id: I951e02617de4b81dabe8ed16b8d760028fa6547f Reviewed-on: https://chromium-review.googlesource.com/1230038Reviewed-by:Eric Seckler <eseckler@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#591999}
Showing
Please register or sign in to comment