Chromium Code Reviews| Index: services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc |
| diff --git a/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc b/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e66f062d2321cf9a589019d8efba4bd413d00fd5 |
| --- /dev/null |
| +++ b/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc |
| @@ -0,0 +1,20 @@ |
| +// 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/ime/test_ime_driver/mojo_test_ime_application_factory.h" |
| + |
| +#include "base/memory/ptr_util.h" |
| +#include "services/ui/ime/test_ime_driver/test_ime_application.h" |
| + |
| +namespace ui { |
| +namespace test { |
| + |
| +// static |
| +std::unique_ptr<service_manager::Service> CreateMojoTestIMEApplication( |
| + const base::Closure& quit_closure) { |
| + return std::unique_ptr<service_manager::Service>(new TestIMEApplication()); |
|
sky
2016/10/18 21:52:30
Similar comment here about creating TestIMEApplica
Jay Civelli
2016/10/18 22:28:02
See my other comment.
|
| +} |
| + |
| +} // namespace test |
| +} // namespace ui |