Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
yosin_UTC9
2016/03/30 08:52:23
"MachineState.h" is better since this file contain
Seigo Nonaka
2016/03/30 09:13:23
Sure. To meet /MachineState/TextSegmentationMachin
| |
| 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 StateMachineCommon_h | |
| 6 #define StateMachineCommon_h | |
| 7 | |
| 8 #include "core/CoreExport.h" | |
| 9 #include <ostream> // NOLINT | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 enum class MachineState { | |
|
yosin_UTC9
2016/03/30 08:52:23
|MachineState| is generic term. We need to have sp
Seigo Nonaka
2016/03/30 09:13:23
Done.
| |
| 14 Invalid, // Indicates the state machine is in invalid state. | |
| 15 NeedMoreCodeUnit, // Indicates the state machine needs more code units to tr ansit the state. | |
| 16 NeedFollowingCodeUnit, // Indicates the state machine needs following code u nits to transit the state. | |
| 17 Finished, // Indicates the state machine found a boundary. | |
| 18 }; | |
| 19 | |
| 20 CORE_EXPORT std::ostream& operator << (std::ostream&, MachineState); | |
|
yosin_UTC9
2016/03/30 08:52:23
No need to have spaces around |<<|
Seigo Nonaka
2016/03/30 09:13:23
Done.
| |
| 21 | |
| 22 } // namespace blink | |
| 23 | |
| 24 #endif // StateMachineCommon_h | |
| OLD | NEW |