| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 Member<IDBKey> cursor_key_; | 186 Member<IDBKey> cursor_key_; |
| 187 Member<IDBKey> cursor_primary_key_; | 187 Member<IDBKey> cursor_primary_key_; |
| 188 RefPtr<IDBValue> cursor_value_; | 188 RefPtr<IDBValue> cursor_value_; |
| 189 | 189 |
| 190 bool did_fire_upgrade_needed_event_ = false; | 190 bool did_fire_upgrade_needed_event_ = false; |
| 191 bool prevent_propagation_ = false; | 191 bool prevent_propagation_ = false; |
| 192 bool result_dirty_ = true; | 192 bool result_dirty_ = true; |
| 193 | 193 |
| 194 // Transactions should be aborted after event dispatch if an exception was | 194 // Transactions should be aborted after event dispatch if an exception was |
| 195 // not caught. This is cleared before dispatch, set by a call to | 195 // not caught. This is cleared before dispatch, set by a call to |
| 196 // uncaughtExceptionInEventHandler() during dispatch, and checked afterwards | 196 // UncaughtExceptionInEventHandler() during dispatch, and checked afterwards |
| 197 // to abort if necessary. | 197 // to abort if necessary. |
| 198 bool did_throw_in_event_handler_ = false; | 198 bool did_throw_in_event_handler_ = false; |
| 199 | 199 |
| 200 // Pointer back to the WebIDBCallbacks that holds a persistent reference to | 200 // Pointer back to the WebIDBCallbacks that holds a persistent reference to |
| 201 // this object. | 201 // this object. |
| 202 WebIDBCallbacks* web_callbacks_ = nullptr; | 202 WebIDBCallbacks* web_callbacks_ = nullptr; |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 } // namespace blink | 205 } // namespace blink |
| 206 | 206 |
| 207 #endif // IDBRequest_h | 207 #endif // IDBRequest_h |
| OLD | NEW |