Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: components/mus/public/cpp/tests/window_server_shelltest_base.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/shell/public/cpp/connection.h" 9 #include "services/shell/public/cpp/connection.h"
10 #include "mojo/shell/public/cpp/shell_test.h" 10 #include "services/shell/public/cpp/shell_test.h"
11 11
12 namespace mus { 12 namespace mus {
13 13
14 // Base class for all window manager shelltests to perform some common setup. 14 // Base class for all window manager shelltests to perform some common setup.
15 class WindowServerShellTestBase : public mojo::test::ShellTest { 15 class WindowServerShellTestBase : public mojo::test::ShellTest {
16 public: 16 public:
17 WindowServerShellTestBase(); 17 WindowServerShellTestBase();
18 ~WindowServerShellTestBase() override; 18 ~WindowServerShellTestBase() override;
19 19
20 virtual bool AcceptConnection(mojo::Connection* connection) = 0; 20 virtual bool AcceptConnection(mojo::Connection* connection) = 0;
21 21
22 private: 22 private:
23 // mojo::test::ShellTest: 23 // mojo::test::ShellTest:
24 scoped_ptr<mojo::ShellClient> CreateShellClient() override; 24 scoped_ptr<mojo::ShellClient> CreateShellClient() override;
25 25
26 DISALLOW_COPY_AND_ASSIGN(WindowServerShellTestBase); 26 DISALLOW_COPY_AND_ASSIGN(WindowServerShellTestBase);
27 }; 27 };
28 28
29 } // namespace mus 29 } // namespace mus
30 30
31 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_ 31 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_SHELLTEST_BASE_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/BUILD.gn ('k') | components/mus/public/cpp/tests/window_server_shelltest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698