Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h

Issue 2473203002: IndexedDB: Remove m_contextStopped from ActiveDOMObjecs (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool autoIncrement, 168 bool autoIncrement,
169 ExceptionState&); 169 ExceptionState&);
170 void closeConnection(); 170 void closeConnection();
171 171
172 IDBDatabaseMetadata m_metadata; 172 IDBDatabaseMetadata m_metadata;
173 std::unique_ptr<WebIDBDatabase> m_backend; 173 std::unique_ptr<WebIDBDatabase> m_backend;
174 Member<IDBTransaction> m_versionChangeTransaction; 174 Member<IDBTransaction> m_versionChangeTransaction;
175 HeapHashMap<int64_t, Member<IDBTransaction>> m_transactions; 175 HeapHashMap<int64_t, Member<IDBTransaction>> m_transactions;
176 176
177 bool m_closePending = false; 177 bool m_closePending = false;
178 bool m_contextStopped = false;
179 178
180 // Keep track of the versionchange events waiting to be fired on this 179 // Keep track of the versionchange events waiting to be fired on this
181 // database so that we can cancel them if the database closes. 180 // database so that we can cancel them if the database closes.
182 HeapVector<Member<Event>> m_enqueuedEvents; 181 HeapVector<Member<Event>> m_enqueuedEvents;
183 182
184 Member<IDBDatabaseCallbacks> m_databaseCallbacks; 183 Member<IDBDatabaseCallbacks> m_databaseCallbacks;
185 }; 184 };
186 185
187 } // namespace blink 186 } // namespace blink
188 187
189 #endif // IDBDatabase_h 188 #endif // IDBDatabase_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698