blob: a38b2e8b98f3a82a35bf9b3be017367912eefb7d [file] [log] [blame]
// Copyright 2018 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 SERVICES_CATALOG_SERVICE_OPTIONS_H_
#define SERVICES_CATALOG_SERVICE_OPTIONS_H_
namespace catalog {
struct ServiceOptions {
enum class InstanceSharingType {
NONE,
SINGLETON,
SHARED_INSTANCE_ACROSS_USERS
};
InstanceSharingType instance_sharing = InstanceSharingType::NONE;
bool can_connect_to_other_services_as_any_user = false;
bool can_connect_to_other_services_with_any_instance_name = false;
bool can_create_other_service_instances = false;
};
} // namespace catalog
#endif // SERVICES_CATALOG_SERVICE_OPTIONS_H_