blob: 26de8da7b2f83c55f2206b4011e6f6ad19084e48 [file] [log] [blame]
Scott Violetc668e3f92017-07-20 17:35:391// 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 Oshima51bf3d5472020-06-17 21:28:3412namespace exo {
13class WaylandServerController;
14}
15
Scott Violetc668e3f92017-07-20 17:35:3916class 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 Oshima51bf3d5472020-06-17 21:28:3426 std::unique_ptr<exo::WaylandServerController> wayland_server_;
27
Scott Violetc668e3f92017-07-20 17:35:3928 DISALLOW_COPY_AND_ASSIGN(ExoParts);
29};
30
31#endif // CHROME_BROWSER_EXO_PARTS_H_