| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef IDBVersionChangeEvent_h | 26 #ifndef IDBVersionChangeEvent_h |
| 27 #define IDBVersionChangeEvent_h | 27 #define IDBVersionChangeEvent_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/Nullable.h" | 29 #include "bindings/core/v8/Nullable.h" |
| 30 #include "bindings/core/v8/SerializedScriptValue.h" | 30 #include "bindings/core/v8/SerializedScriptValue.h" |
| 31 #include "modules/EventModules.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 "modules/indexeddb/IDBVersionChangeEventInit.h" | 34 #include "modules/indexeddb/IDBVersionChangeEventInit.h" |
| 35 #include "platform/wtf/PassRefPtr.h" |
| 36 #include "platform/wtf/RefPtr.h" |
| 37 #include "platform/wtf/text/WTFString.h" |
| 35 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 38 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 36 #include "wtf/PassRefPtr.h" | |
| 37 #include "wtf/RefPtr.h" | |
| 38 #include "wtf/text/WTFString.h" | |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class IDBVersionChangeEvent final : public Event { | 42 class IDBVersionChangeEvent final : public Event { |
| 43 DEFINE_WRAPPERTYPEINFO(); | 43 DEFINE_WRAPPERTYPEINFO(); |
| 44 | 44 |
| 45 public: | 45 public: |
| 46 static IDBVersionChangeEvent* Create() { return new IDBVersionChangeEvent(); } | 46 static IDBVersionChangeEvent* Create() { return new IDBVersionChangeEvent(); } |
| 47 static IDBVersionChangeEvent* Create( | 47 static IDBVersionChangeEvent* Create( |
| 48 const AtomicString& event_type, | 48 const AtomicString& event_type, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 unsigned long long old_version_; | 82 unsigned long long old_version_; |
| 83 Nullable<unsigned long long> new_version_; | 83 Nullable<unsigned long long> new_version_; |
| 84 WebIDBDataLoss data_loss_; | 84 WebIDBDataLoss data_loss_; |
| 85 String data_loss_message_; | 85 String data_loss_message_; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace blink | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif // IDBVersionChangeEvent_h | 90 #endif // IDBVersionChangeEvent_h |
| OLD | NEW |