| Index: trunk/src/base/prefs/persistent_pref_store.h
|
| ===================================================================
|
| --- trunk/src/base/prefs/persistent_pref_store.h (revision 269437)
|
| +++ trunk/src/base/prefs/persistent_pref_store.h (working copy)
|
| @@ -17,22 +17,19 @@
|
| public:
|
| // Unique integer code for each type of error so we can report them
|
| // distinctly in a histogram.
|
| - // NOTE: Don't change the explicit values of the enums as it will change the
|
| - // server's meaning of the histogram.
|
| + // NOTE: Don't change the order here as it will change the server's meaning
|
| + // of the histogram.
|
| enum PrefReadError {
|
| PREF_READ_ERROR_NONE = 0,
|
| - PREF_READ_ERROR_JSON_PARSE = 1,
|
| - PREF_READ_ERROR_JSON_TYPE = 2,
|
| - PREF_READ_ERROR_ACCESS_DENIED = 3,
|
| - PREF_READ_ERROR_FILE_OTHER = 4,
|
| - PREF_READ_ERROR_FILE_LOCKED = 5,
|
| - PREF_READ_ERROR_NO_FILE = 6,
|
| - PREF_READ_ERROR_JSON_REPEAT = 7,
|
| - // PREF_READ_ERROR_OTHER = 8, // Deprecated.
|
| - PREF_READ_ERROR_FILE_NOT_SPECIFIED = 9,
|
| - // Indicates that ReadPrefs() couldn't complete synchronously and is waiting
|
| - // for an asynchronous task to complete first.
|
| - PREF_READ_ERROR_ASYNCHRONOUS_TASK_INCOMPLETE = 10,
|
| + PREF_READ_ERROR_JSON_PARSE,
|
| + PREF_READ_ERROR_JSON_TYPE,
|
| + PREF_READ_ERROR_ACCESS_DENIED,
|
| + PREF_READ_ERROR_FILE_OTHER,
|
| + PREF_READ_ERROR_FILE_LOCKED,
|
| + PREF_READ_ERROR_NO_FILE,
|
| + PREF_READ_ERROR_JSON_REPEAT,
|
| + PREF_READ_ERROR_OTHER,
|
| + PREF_READ_ERROR_FILE_NOT_SPECIFIED,
|
| PREF_READ_ERROR_MAX_ENUM
|
| };
|
|
|
|
|