| Index: ui/views/mus/test_utils.h
|
| diff --git a/ui/views/mus/test_utils.h b/ui/views/mus/test_utils.h
|
| index 6bcb68d42b16c440a329ea8ab99e49732424422a..c4d21ee8a424e212d2905357ba45895983696c63 100644
|
| --- a/ui/views/mus/test_utils.h
|
| +++ b/ui/views/mus/test_utils.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef UI_VIEWS_MUS_TEST_UTILS_H_
|
| #define UI_VIEWS_MUS_TEST_UTILS_H_
|
|
|
| +#include "base/memory/ptr_util.h"
|
| +#include "ui/views/mus/mus_client.h"
|
| #include "ui/views/mus/window_manager_connection.h"
|
|
|
| namespace views {
|
| @@ -28,6 +30,18 @@ class WindowManagerConnectionTestApi {
|
| DISALLOW_COPY_AND_ASSIGN(WindowManagerConnectionTestApi);
|
| };
|
|
|
| +class MusClientTestApi {
|
| + public:
|
| + static std::unique_ptr<MusClient> Create(
|
| + service_manager::Connector* connector,
|
| + const service_manager::Identity& identity) {
|
| + return base::WrapUnique(new MusClient(connector, identity));
|
| + }
|
| +
|
| + private:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(MusClientTestApi);
|
| +};
|
| +
|
| } // namespace test
|
| } // namespace views
|
|
|
|
|