blob: 76e72f1c95ebbb1d4eb2ad6583e7394994f09db6 [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_BROWSER_MASH_SERVICE_REGISTRY_H_
#define CHROME_BROWSER_MASH_SERVICE_REGISTRY_H_
#include <string>
#include "content/public/browser/content_browser_client.h"
namespace mash_service_registry {
// Starts one of Mash's embedded services.
void RegisterOutOfProcessServices(
content::ContentBrowserClient::OutOfProcessServiceMap* services);
// Returns true if |name| identifies a mash related service.
bool IsMashServiceName(const std::string& name);
// Returns true if the browser should exit when service |name| quits.
bool ShouldTerminateOnServiceQuit(const std::string& name);
} // namespace mash_service_registry
#endif // CHROME_BROWSER_MASH_SERVICE_REGISTRY_H_