OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 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 EXTENSIONS_BROWSER_API_LOCK_SCREEN_DATA_OPERATION_RESULT_H_ |
| 6 #define EXTENSIONS_BROWSER_API_LOCK_SCREEN_DATA_OPERATION_RESULT_H_ |
| 7 |
| 8 namespace extensions { |
| 9 namespace lock_screen_data { |
| 10 |
| 11 // Enum containing possible results of data item operations exposed by |
| 12 // ItemStorage and DataItem. |
| 13 enum class OperationResult { |
| 14 kSuccess, |
| 15 kPending, |
| 16 kFailed, |
| 17 kNotFound, |
| 18 kNoBackingFile, |
| 19 kFileCreationFailed, |
| 20 kFileWriteFailed, |
| 21 kFileReadFailed, |
| 22 kFileDeleteFailed, |
| 23 kInvalidKey, |
| 24 kWrongKey, |
| 25 }; |
| 26 |
| 27 } // namespace lock_screen_data |
| 28 } // namespace extensions |
| 29 |
| 30 #endif // EXTENSIONS_BROWSER_API_LOCK_SCREEN_DATA_OPERATION_RESULT_H_ |
OLD | NEW |