OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "device/devices_app/public/cpp/devices_app_factory.h" | 5 #include "device/devices_app/public/cpp/devices_app_factory.h" |
6 | 6 |
7 #include "device/devices_app/devices_app.h" | 7 #include "device/devices_app/devices_app.h" |
8 | 8 |
9 namespace device { | 9 namespace device { |
10 | 10 |
11 // static | 11 // static |
12 scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp( | 12 scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp() { |
13 scoped_refptr<base::SequencedTaskRunner> service_task_runner) { | 13 return scoped_ptr<mojo::ApplicationDelegate>(new DevicesApp()); |
14 return scoped_ptr<mojo::ApplicationDelegate>( | |
15 new DevicesApp(service_task_runner)); | |
16 } | 14 } |
17 | 15 |
18 } // namespace device | 16 } // namespace device |
OLD | NEW |