summaryrefslogtreecommitdiffstats
path: root/device/devices_app/public/cpp/devices_app_factory.cc
blob: ee85c097fe03bc6cbc5ce2c8f483503cf3ac23ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 "device/devices_app/public/cpp/devices_app_factory.h"

#include "device/devices_app/devices_app.h"

namespace device {

// static
scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp(
    scoped_refptr<base::SequencedTaskRunner> service_task_runner) {
  return scoped_ptr<mojo::ApplicationDelegate>(
      new DevicesApp(service_task_runner));
}

}  // namespace device