| // 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_ARC_INSTANCE_MODE_H_ |
| #define COMPONENTS_ARC_ARC_INSTANCE_MODE_H_ |
| |
| #include <ostream> |
| |
| #include "base/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, |
| base::Optional<ArcInstanceMode> mode); |
| |
| } // namespace arc |
| |
| #endif // COMPONENTS_ARC_ARC_INSTANCE_MODE_H_ |