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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/Database.h

Issue 1909813002: Enable per thread heap for database thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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/webdatabase/Database.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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 String m_filename; 159 String m_filename;
160 160
161 DatabaseGuid m_guid; 161 DatabaseGuid m_guid;
162 int m_opened; 162 int m_opened;
163 bool m_new; 163 bool m_new;
164 164
165 SQLiteDatabase m_sqliteDatabase; 165 SQLiteDatabase m_sqliteDatabase;
166 166
167 Member<DatabaseAuthorizer> m_databaseAuthorizer; 167 Member<DatabaseAuthorizer> m_databaseAuthorizer;
168 168
169 HeapDeque<Member<SQLTransactionBackend>> m_transactionQueue; 169 Deque<CrossThreadPersistent<SQLTransactionBackend>> m_transactionQueue;
170 Mutex m_transactionInProgressMutex; 170 Mutex m_transactionInProgressMutex;
171 bool m_transactionInProgress; 171 bool m_transactionInProgress;
172 bool m_isTransactionQueueEnabled; 172 bool m_isTransactionQueueEnabled;
173 173
174 friend class ChangeVersionWrapper; 174 friend class ChangeVersionWrapper;
175 friend class DatabaseManager; 175 friend class DatabaseManager;
176 friend class SQLStatementBackend; 176 friend class SQLStatementBackend;
177 friend class SQLTransaction; 177 friend class SQLTransaction;
178 friend class SQLTransactionBackend; 178 friend class SQLTransactionBackend;
179 }; 179 };
180 180
181 } // namespace blink 181 } // namespace blink
182 182
183 #endif // Database_h 183 #endif // Database_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698