OLD | NEW |
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS 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 // A table of network states, to be included when building tabular things. | 5 // A table of network states, to be included when building tabular things. |
6 // | 6 // |
7 // This file is used to construct two things: an enumerated type in | 7 // This file is used to construct two things: an enumerated type in |
8 // metrics_daemon.h, and a table of structures with state names in | 8 // metrics_daemon.h, and a table of structures with state names in |
9 // metrics_daemon.cc. Including this file ensures that the two tables are | 9 // metrics_daemon.cc. Including this file ensures that the two tables are |
10 // always in sync (and saves typing). I don't know of other ways of achieving | 10 // always in sync (and saves typing). I don't know of other ways of achieving |
(...skipping 14 matching lines...) Expand all Loading... |
25 STATE(association, Association) | 25 STATE(association, Association) |
26 STATE(configuration, Configuration) | 26 STATE(configuration, Configuration) |
27 STATE(disconnect, Disconnect) | 27 STATE(disconnect, Disconnect) |
28 STATE(failure, Failure) | 28 STATE(failure, Failure) |
29 STATE(idle, Idle) | 29 STATE(idle, Idle) |
30 STATE(offline, Offline) | 30 STATE(offline, Offline) |
31 STATE(online, Online) | 31 STATE(online, Online) |
32 STATE(ready, Ready) | 32 STATE(ready, Ready) |
33 | 33 |
34 #undef STATE | 34 #undef STATE |
OLD | NEW |