Chromium Code Reviews| Index: services/ui/mojo_ui_application_factory.cc |
| diff --git a/services/ui/mojo_ui_application_factory.cc b/services/ui/mojo_ui_application_factory.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e8f2a4e6e3c7998b1bc036fd0a609462e715584d |
| --- /dev/null |
| +++ b/services/ui/mojo_ui_application_factory.cc |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2016 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 "services/ui/mojo_ui_application_factory.h" |
| + |
| +#include "base/memory/ptr_util.h" |
| +#include "services/ui/service.h" |
| + |
| +namespace ui { |
| + |
| +// static |
| +std::unique_ptr<service_manager::Service> CreateMojoUIApplication( |
| + const base::Closure& quit_closure) { |
| + return std::unique_ptr<service_manager::Service>(new Service()); |
|
sky
2016/10/18 21:52:30
Why do you need this function rather than having s
Jay Civelli
2016/10/18 22:28:02
This function is a factory function bound in shell
Jay Civelli
2016/10/19 00:42:04
Per our discussion, moved them to shell_content_br
|
| +} |
| + |
| +} // namespace ui |