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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 int pageSize(); 122 int pageSize();
123 123
124 sqlite3* m_db; 124 sqlite3* m_db;
125 int m_pageSize; 125 int m_pageSize;
126 126
127 bool m_transactionInProgress; 127 bool m_transactionInProgress;
128 bool m_sharable; 128 bool m_sharable;
129 129
130 Mutex m_authorizerLock; 130 Mutex m_authorizerLock;
131 Member<DatabaseAuthorizer> m_authorizer; 131 CrossThreadPersistent<DatabaseAuthorizer> m_authorizer;
132 132
133 ThreadIdentifier m_openingThread; 133 ThreadIdentifier m_openingThread;
134 134
135 Mutex m_databaseClosingMutex; 135 Mutex m_databaseClosingMutex;
136 136
137 int m_openError; 137 int m_openError;
138 CString m_openErrorMessage; 138 CString m_openErrorMessage;
139 139
140 int m_lastChangesCount; 140 int m_lastChangesCount;
141 }; 141 };
142 142
143 } // namespace blink 143 } // namespace blink
144 144
145 #endif 145 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698