blob: e9102259fc7c0310122bfac7889d5d80a05767f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/mus/android_loader.h"
#include "components/mus/mus_app.h"
#include "mojo/shell/public/cpp/application_impl.h"
namespace mus {
AndroidLoader::AndroidLoader() {}
AndroidLoader::~AndroidLoader() {}
void AndroidLoader::Load(
const GURL& url,
mojo::InterfaceRequest<mojo::Application> application_request) {
DCHECK(application_request.is_pending());
app_.reset(new mojo::ApplicationImpl(new MandolineUIServicesApp,
std::move(application_request)));
}
} // namespace mus
|