summaryrefslogtreecommitdiff
path: root/chromium/components/arc/arc_instance_mode.h
blob: 5f97a74cceb5f08ea0e03203b645bb77a061bf4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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_