blob: cf04a56dccaabf31bcd861398587af3d75740744 [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 COMPONENTS_ARC_SESSION_ARC_INSTANCE_MODE_H_
#define COMPONENTS_ARC_SESSION_ARC_INSTANCE_MODE_H_
#include <ostream>
#include "third_party/abseil-cpp/absl/types/optional.h"
namespace arc {
enum class ArcInstanceMode {
// Instance running starting on login screen. We're planning to expand its
// usage. cf) b/62701318.
MINI_INSTANCE,
// Fully set up instance. Specifically, it should support Mojo connection.
FULL_INSTANCE,
};
// Stringified output for logging purpose.
std::ostream& operator<<(std::ostream& os, ArcInstanceMode mode);
std::ostream& operator<<(std::ostream& os,
absl::optional<ArcInstanceMode> mode);
} // namespace arc
#endif // COMPONENTS_ARC_SESSION_ARC_INSTANCE_MODE_H_