1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "base/logging.h"
7 #include "base/message_loop/message_loop.h"
8 #include "mandoline/app/core_services_initialization.h"
9 #include "mojo/runner/context.h"
14 void InitContext(Context
* context
) {
15 mandoline::InitCoreServicesForContext(context
);
16 base::MessageLoopForUI::current()->PostTask(
18 base::Bind(&Context::Run
,
19 base::Unretained(context
),
20 GURL("mojo:phone_ui")));