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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void onSuccess(const Vector<RefPtr<IDBValue>>&); | 104 virtual void onSuccess(const Vector<RefPtr<IDBValue>>&); |
105 virtual void onSuccess(int64_t); | 105 virtual void onSuccess(int64_t); |
106 virtual void onSuccess(); | 106 virtual void onSuccess(); |
107 virtual void onSuccess(IDBKey*, IDBKey* primaryKey, PassRefPtr<IDBValue>); | 107 virtual void onSuccess(IDBKey*, IDBKey* primaryKey, PassRefPtr<IDBValue>); |
108 | 108 |
109 // Only IDBOpenDBRequest instances should receive these: | 109 // Only IDBOpenDBRequest instances should receive these: |
110 virtual void onBlocked(int64_t oldVersion) { ASSERT_NOT_REACHED(); } | 110 virtual void onBlocked(int64_t oldVersion) { ASSERT_NOT_REACHED(); } |
111 virtual void onUpgradeNeeded(int64_t oldVersion, std::unique_ptr<WebIDBDatab
ase>, const IDBDatabaseMetadata&, WebIDBDataLoss, String dataLossMessage) { ASSE
RT_NOT_REACHED(); } | 111 virtual void onUpgradeNeeded(int64_t oldVersion, std::unique_ptr<WebIDBDatab
ase>, const IDBDatabaseMetadata&, WebIDBDataLoss, String dataLossMessage) { ASSE
RT_NOT_REACHED(); } |
112 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>, const IDBDatabaseMet
adata&) { ASSERT_NOT_REACHED(); } | 112 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>, const IDBDatabaseMet
adata&) { ASSERT_NOT_REACHED(); } |
113 | 113 |
114 // ActiveScriptWrappable | 114 // ScriptWrappable |
115 bool hasPendingActivity() const final; | 115 bool hasPendingActivity() const final; |
116 | 116 |
117 // ActiveDOMObject | 117 // ActiveDOMObject |
118 void stop() final; | 118 void stop() final; |
119 | 119 |
120 // EventTarget | 120 // EventTarget |
121 const AtomicString& interfaceName() const override; | 121 const AtomicString& interfaceName() const override; |
122 ExecutionContext* getExecutionContext() const final; | 122 ExecutionContext* getExecutionContext() const final; |
123 void uncaughtExceptionInEventHandler() final; | 123 void uncaughtExceptionInEventHandler() final; |
124 | 124 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 RefPtr<IDBValue> m_cursorValue; | 169 RefPtr<IDBValue> m_cursorValue; |
170 | 170 |
171 bool m_didFireUpgradeNeededEvent = false; | 171 bool m_didFireUpgradeNeededEvent = false; |
172 bool m_preventPropagation = false; | 172 bool m_preventPropagation = false; |
173 bool m_resultDirty = true; | 173 bool m_resultDirty = true; |
174 }; | 174 }; |
175 | 175 |
176 } // namespace blink | 176 } // namespace blink |
177 | 177 |
178 #endif // IDBRequest_h | 178 #endif // IDBRequest_h |
OLD | NEW |