| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class DOMException; | 46 class DOMException; |
| 47 class ExecutionContext; | 47 class ExecutionContext; |
| 48 class ExceptionState; | 48 class ExceptionState; |
| 49 class IDBDatabase; | 49 class IDBDatabase; |
| 50 class IDBIndex; | 50 class IDBIndex; |
| 51 class IDBObjectStore; | 51 class IDBObjectStore; |
| 52 class IDBOpenDBRequest; | 52 class IDBOpenDBRequest; |
| 53 class IDBRequest; |
| 53 class ScriptState; | 54 class ScriptState; |
| 54 | 55 |
| 55 class MODULES_EXPORT IDBTransaction final : public EventTargetWithInlineData, | 56 class MODULES_EXPORT IDBTransaction final : public EventTargetWithInlineData, |
| 56 public ActiveScriptWrappable, | 57 public ActiveScriptWrappable, |
| 57 public ActiveDOMObject { | 58 public ActiveDOMObject { |
| 58 USING_GARBAGE_COLLECTED_MIXIN(IDBTransaction); | 59 USING_GARBAGE_COLLECTED_MIXIN(IDBTransaction); |
| 59 DEFINE_WRAPPERTYPEINFO(); | 60 DEFINE_WRAPPERTYPEINFO(); |
| 60 | 61 |
| 61 public: | 62 public: |
| 62 static IDBTransaction* createNonVersionChange(ScriptState*, | 63 static IDBTransaction* createNonVersionChange(ScriptState*, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // This does not include a snapshot of the database's object store / index | 243 // This does not include a snapshot of the database's object store / index |
| 243 // metadata. | 244 // metadata. |
| 244 // | 245 // |
| 245 // Only valid for versionchange transactions. | 246 // Only valid for versionchange transactions. |
| 246 IDBDatabaseMetadata m_oldDatabaseMetadata; | 247 IDBDatabaseMetadata m_oldDatabaseMetadata; |
| 247 }; | 248 }; |
| 248 | 249 |
| 249 } // namespace blink | 250 } // namespace blink |
| 250 | 251 |
| 251 #endif // IDBTransaction_h | 252 #endif // IDBTransaction_h |
| OLD | NEW |