OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/mus/public/cpp/tests/window_server_shelltest_base.h" | 5 #include "components/mus/public/cpp/tests/window_server_shelltest_base.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "components/mus/common/args.h" | 10 #include "components/mus/common/args.h" |
11 #include "mojo/shell/public/cpp/shell_client.h" | 11 #include "services/shell/public/cpp/shell_client.h" |
12 #include "mojo/shell/public/cpp/shell_test.h" | 12 #include "services/shell/public/cpp/shell_test.h" |
13 #include "ui/gl/gl_switches.h" | 13 #include "ui/gl/gl_switches.h" |
14 | 14 |
15 namespace mus { | 15 namespace mus { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const char kTestAppName[] = "mojo:mus_ws_unittests_app"; | 19 const char kTestAppName[] = "mojo:mus_ws_unittests_app"; |
20 | 20 |
21 class WindowServerShellTestClient : public mojo::test::ShellTestClient { | 21 class WindowServerShellTestClient : public mojo::test::ShellTestClient { |
22 public: | 22 public: |
(...skipping 26 matching lines...) Expand all Loading... |
49 EnsureCommandLineSwitch(switches::kOverrideUseGLWithOSMesaForTests); | 49 EnsureCommandLineSwitch(switches::kOverrideUseGLWithOSMesaForTests); |
50 } | 50 } |
51 | 51 |
52 WindowServerShellTestBase::~WindowServerShellTestBase() {} | 52 WindowServerShellTestBase::~WindowServerShellTestBase() {} |
53 | 53 |
54 scoped_ptr<mojo::ShellClient> WindowServerShellTestBase::CreateShellClient() { | 54 scoped_ptr<mojo::ShellClient> WindowServerShellTestBase::CreateShellClient() { |
55 return make_scoped_ptr(new WindowServerShellTestClient(this)); | 55 return make_scoped_ptr(new WindowServerShellTestClient(this)); |
56 } | 56 } |
57 | 57 |
58 } // namespace mus | 58 } // namespace mus |
OLD | NEW |