| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/arc/arc_auth_service.h" | 5 #include "chrome/browser/chromeos/arc/arc_auth_service.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "ash/common/shelf/shelf_delegate.h" | 9 #include "ash/common/shelf/shelf_delegate.h" |
| 10 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
| (...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state) { | 1139 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state) { |
| 1140 switch (state) { | 1140 switch (state) { |
| 1141 case ArcAuthService::State::NOT_INITIALIZED: | 1141 case ArcAuthService::State::NOT_INITIALIZED: |
| 1142 return os << "NOT_INITIALIZED"; | 1142 return os << "NOT_INITIALIZED"; |
| 1143 case ArcAuthService::State::STOPPED: | 1143 case ArcAuthService::State::STOPPED: |
| 1144 return os << "STOPPED"; | 1144 return os << "STOPPED"; |
| 1145 case ArcAuthService::State::FETCHING_CODE: | 1145 case ArcAuthService::State::FETCHING_CODE: |
| 1146 return os << "FETCHING_CODE"; | 1146 return os << "FETCHING_CODE"; |
| 1147 case ArcAuthService::State::ACTIVE: | 1147 case ArcAuthService::State::ACTIVE: |
| 1148 return os << "ACTIVE"; | 1148 return os << "ACTIVE"; |
| 1149 default: | |
| 1150 NOTREACHED(); | |
| 1151 return os; | |
| 1152 } | 1149 } |
| 1150 |
| 1151 // Some compiler reports an error even if all values of an enum-class are |
| 1152 // covered indivisually in a switch statement. |
| 1153 NOTREACHED(); |
| 1154 return os; |
| 1153 } | 1155 } |
| 1154 | 1156 |
| 1155 } // namespace arc | 1157 } // namespace arc |
| OLD | NEW |