| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef IDBVersionChangeEvent_h | 26 #ifndef IDBVersionChangeEvent_h |
| 27 #define IDBVersionChangeEvent_h | 27 #define IDBVersionChangeEvent_h |
| 28 | 28 |
| 29 #include "bindings/v8/Nullable.h" | 29 #include "bindings/v8/Nullable.h" |
| 30 #include "bindings/v8/SerializedScriptValue.h" | 30 #include "bindings/v8/SerializedScriptValue.h" |
| 31 #include "core/events/Event.h" | 31 #include "modules/EventModules.h" |
| 32 #include "modules/indexeddb/IDBAny.h" | 32 #include "modules/indexeddb/IDBAny.h" |
| 33 #include "modules/indexeddb/IDBRequest.h" | 33 #include "modules/indexeddb/IDBRequest.h" |
| 34 #include "public/platform/WebIDBTypes.h" | 34 #include "public/platform/WebIDBTypes.h" |
| 35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
| 36 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" |
| 37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 struct IDBVersionChangeEventInit : public EventInit { | 41 struct IDBVersionChangeEventInit : public EventInit { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 unsigned long long m_oldVersion; | 78 unsigned long long m_oldVersion; |
| 79 Nullable<unsigned long long> m_newVersion; | 79 Nullable<unsigned long long> m_newVersion; |
| 80 bool m_dataLoss; | 80 bool m_dataLoss; |
| 81 String m_dataLossMessage; | 81 String m_dataLossMessage; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace WebCore | 84 } // namespace WebCore |
| 85 | 85 |
| 86 #endif // IDBVersionChangeEvent_h | 86 #endif // IDBVersionChangeEvent_h |
| OLD | NEW |