blob: 380d40c24fa8fb7dab26d73b9b6bbde068f5642e [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_ACROSS_INSTANCE_GROUPS,
};
InstanceSharingType instance_sharing = InstanceSharingType::NONE;
bool can_connect_to_instances_in_any_group = 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_