blob: 26de8da7b2f83c55f2206b4011e6f6ad19084e48 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXO_PARTS_H_
#define CHROME_BROWSER_EXO_PARTS_H_
#include <memory>
#include "base/macros.h"
namespace exo {
class WaylandServerController;
}
class ExoParts {
public:
// Creates ExoParts. Returns null if exo should not be created.
static std::unique_ptr<ExoParts> CreateIfNecessary();
~ExoParts();
private:
ExoParts();
std::unique_ptr<exo::WaylandServerController> wayland_server_;
DISALLOW_COPY_AND_ASSIGN(ExoParts);
};
#endif // CHROME_BROWSER_EXO_PARTS_H_