Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/arc/arc_stop_reason.h

Issue 2720303002: Do nothing on OnSessionStopped if ARC is being restarted. (Closed)
Patch Set: Address comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/arc/arc_session_runner_unittest.cc ('k') | components/arc/arc_stop_reason.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_ARC_ARC_STOP_REASON_H_
6 #define COMPONENTS_ARC_ARC_STOP_REASON_H_
7
8 #include <ostream>
9
10 namespace arc {
11
12 // Describes the reason the ARC instance is stopped.
13 enum class ArcStopReason {
14 // ARC instance has been gracefully shut down.
15 SHUTDOWN,
16
17 // Errors occurred during the ARC instance boot. This includes any failures
18 // before the instance is actually attempted to be started, and also
19 // failures on bootstrapping IPC channels with Android.
20 GENERIC_BOOT_FAILURE,
21
22 // The device is critically low on disk space.
23 LOW_DISK_SPACE,
24
25 // ARC instance has crashed.
26 CRASH,
27 };
28
29 // Defines "<<" operator for LOGging purpose.
30 std::ostream& operator<<(std::ostream& os, ArcStopReason reason);
31
32 } // namespace arc
33
34 #endif // COMPONENTS_ARC_ARC_STOP_REASON_H_
OLDNEW
« no previous file with comments | « components/arc/arc_session_runner_unittest.cc ('k') | components/arc/arc_stop_reason.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698