blob: 6cb915c50c802d04a283acdd56907768269624bf [file] [log] [blame]
// Copyright 2017 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_UTILITY_MASH_SERVICE_FACTORY_H_
#define CHROME_UTILITY_MASH_SERVICE_FACTORY_H_
#include <memory>
#include "content/public/utility/content_utility_client.h"
namespace ui {
class ImageCursorsSet;
}
// Lives on the utility process main thread.
class MashServiceFactory {
public:
MashServiceFactory();
~MashServiceFactory();
// Registers out-of-process services for --mash.
void RegisterOutOfProcessServices(
content::ContentUtilityClient::StaticServiceMap* services);
private:
// Must live on the utility main thread.
std::unique_ptr<ui::ImageCursorsSet> cursors_;
DISALLOW_COPY_AND_ASSIGN(MashServiceFactory);
};
#endif // CHROME_UTILITY_MASH_SERVICE_FACTORY_H_