Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / mandoline / app / android / mandoline_context_init.cc
blobbdbdb830595bb20fbdfa7ca9ebc0efb171de2b7d
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.
5 #include "base/bind.h"
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"
11 namespace mojo {
12 namespace runner {
14 void InitContext(Context* context) {
15 mandoline::InitCoreServicesForContext(context);
16 base::MessageLoopForUI::current()->PostTask(
17 FROM_HERE,
18 base::Bind(&Context::Run,
19 base::Unretained(context),
20 GURL("mojo:phone_ui")));
23 } // namespace runner
24 } // namespace mojo