Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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 CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_ | |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_ | |
| 7 | |
| 8 namespace content { | |
| 9 | |
| 10 namespace IndexedDB { | |
| 11 | |
| 12 enum TransactionMode { | |
| 13 TransactionReadOnly = 0, | |
|
jamesr
2013/05/21 23:56:06
chromium style for enum values is SHOUTING_STYLE -
jsbell
2013/05/22 17:54:44
Done.
| |
| 14 TransactionReadWrite = 1, | |
| 15 TransactionVersionChange = 2 | |
| 16 }; | |
| 17 | |
| 18 enum CursorDirection { | |
| 19 CursorNext = 0, | |
| 20 CursorNextNoDuplicate = 1, | |
| 21 CursorPrev = 2, | |
| 22 CursorPrevNoDuplicate = 3, | |
| 23 }; | |
| 24 | |
| 25 enum CursorType { | |
| 26 CursorKeyAndValue = 0, | |
| 27 CursorKeyOnly | |
| 28 }; | |
| 29 | |
| 30 } // namespace IndexedDB | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_ | |
| OLD | NEW |