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

Unified Diff: components/arc/arc_session_observer.cc

Issue 2720303002: Do nothing on OnSessionStopped if ARC is being restarted. (Closed)
Patch Set: Address comments. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/arc_session_observer.h ('k') | components/arc/arc_session_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_session_observer.cc
diff --git a/components/arc/arc_session_observer.cc b/components/arc/arc_session_observer.cc
deleted file mode 100644
index eca089cdf4df6e5ffd4b0cf2c14e8bdb8bbb04b6..0000000000000000000000000000000000000000
--- a/components/arc/arc_session_observer.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 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.
-
-#include "components/arc/arc_session_observer.h"
-
-namespace arc {
-
-std::ostream& operator<<(std::ostream& os,
- ArcSessionObserver::StopReason reason) {
- switch (reason) {
-#define CASE_IMPL(val) \
- case ArcSessionObserver::StopReason::val: \
- return os << #val
-
- CASE_IMPL(SHUTDOWN);
- CASE_IMPL(GENERIC_BOOT_FAILURE);
- CASE_IMPL(LOW_DISK_SPACE);
- CASE_IMPL(CRASH);
-#undef CASE_IMPL
- }
-
- // In case of unexpected value, output the int value.
- return os << "StopReason(" << static_cast<int>(reason) << ")";
-}
-
-} // namespace arc
« no previous file with comments | « components/arc/arc_session_observer.h ('k') | components/arc/arc_session_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698