Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_EXO_PARTS_H_ |
| 6 | #define CHROME_BROWSER_EXO_PARTS_H_ |
| 7 | |
| 8 | #include <memory> |
| 9 | |
| 10 | #include "base/macros.h" |
| 11 | |
Mitsuru Oshima | 51bf3d547 | 2020-06-17 21:28:34 | [diff] [blame] | 12 | namespace exo { |
| 13 | class WaylandServerController; |
| 14 | } |
| 15 | |
Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 16 | class ExoParts { |
| 17 | public: |
| 18 | // Creates ExoParts. Returns null if exo should not be created. |
| 19 | static std::unique_ptr<ExoParts> CreateIfNecessary(); |
| 20 | |
| 21 | ~ExoParts(); |
| 22 | |
| 23 | private: |
| 24 | ExoParts(); |
| 25 | |
Mitsuru Oshima | 51bf3d547 | 2020-06-17 21:28:34 | [diff] [blame] | 26 | std::unique_ptr<exo::WaylandServerController> wayland_server_; |
| 27 | |
Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 28 | DISALLOW_COPY_AND_ASSIGN(ExoParts); |
| 29 | }; |
| 30 | |
| 31 | #endif // CHROME_BROWSER_EXO_PARTS_H_ |