| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 } | 119 } |
| 120 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>, | 120 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>, |
| 121 const IDBDatabaseMetadata&) { | 121 const IDBDatabaseMetadata&) { |
| 122 ASSERT_NOT_REACHED(); | 122 ASSERT_NOT_REACHED(); |
| 123 } | 123 } |
| 124 | 124 |
| 125 // ScriptWrappable | 125 // ScriptWrappable |
| 126 bool hasPendingActivity() const final; | 126 bool hasPendingActivity() const final; |
| 127 | 127 |
| 128 // SuspendableObject | 128 // SuspendableObject |
| 129 void contextDestroyed() override; | 129 void contextDestroyed(ExecutionContext*) override; |
| 130 | 130 |
| 131 // EventTarget | 131 // EventTarget |
| 132 const AtomicString& interfaceName() const override; | 132 const AtomicString& interfaceName() const override; |
| 133 ExecutionContext* getExecutionContext() const final; | 133 ExecutionContext* getExecutionContext() const final; |
| 134 void uncaughtExceptionInEventHandler() final; | 134 void uncaughtExceptionInEventHandler() final; |
| 135 | 135 |
| 136 // Called by a version change transaction that has finished to set this | 136 // Called by a version change transaction that has finished to set this |
| 137 // request back from DONE (following "upgradeneeded") back to PENDING (for | 137 // request back from DONE (following "upgradeneeded") back to PENDING (for |
| 138 // the upcoming "success" or "error"). | 138 // the upcoming "success" or "error"). |
| 139 void transactionDidFinishAndDispatch(); | 139 void transactionDidFinishAndDispatch(); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 bool m_resultDirty = true; | 188 bool m_resultDirty = true; |
| 189 | 189 |
| 190 // Pointer back to the WebIDBCallbacks that holds a persistent reference to | 190 // Pointer back to the WebIDBCallbacks that holds a persistent reference to |
| 191 // this object. | 191 // this object. |
| 192 WebIDBCallbacks* m_webCallbacks = nullptr; | 192 WebIDBCallbacks* m_webCallbacks = nullptr; |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace blink | 195 } // namespace blink |
| 196 | 196 |
| 197 #endif // IDBRequest_h | 197 #endif // IDBRequest_h |
| OLD | NEW |