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

Side by Side Diff: Source/modules/webdatabase/SQLTransactionCoordinator.cpp

Issue 68093002: Remove duplicated headers from modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 16 matching lines...) Expand all
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "modules/webdatabase/SQLTransactionCoordinator.h" 33 #include "modules/webdatabase/SQLTransactionCoordinator.h"
34 34
35 #include "modules/webdatabase/DatabaseBackend.h" 35 #include "modules/webdatabase/DatabaseBackend.h"
36 #include "modules/webdatabase/SQLTransactionBackend.h" 36 #include "modules/webdatabase/SQLTransactionBackend.h"
37 #include "wtf/Deque.h"
38 #include "wtf/HashMap.h"
39 #include "wtf/HashSet.h"
40 #include "wtf/RefPtr.h"
41 37
42 namespace WebCore { 38 namespace WebCore {
43 39
44 static String getDatabaseIdentifier(SQLTransactionBackend* transaction) 40 static String getDatabaseIdentifier(SQLTransactionBackend* transaction)
45 { 41 {
46 DatabaseBackend* database = transaction->database(); 42 DatabaseBackend* database = transaction->database();
47 ASSERT(database); 43 ASSERT(database);
48 return database->stringIdentifier(); 44 return database->stringIdentifier();
49 } 45 }
50 46
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 RefPtr<SQLTransactionBackend> transaction = info.pendingTransactions .first(); 137 RefPtr<SQLTransactionBackend> transaction = info.pendingTransactions .first();
142 transaction->notifyDatabaseThreadIsShuttingDown(); 138 transaction->notifyDatabaseThreadIsShuttingDown();
143 } 139 }
144 } 140 }
145 141
146 // Clean up all pending transactions for all databases 142 // Clean up all pending transactions for all databases
147 m_coordinationInfoMap.clear(); 143 m_coordinationInfoMap.clear();
148 } 144 }
149 145
150 } // namespace WebCore 146 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionBackendSync.cpp ('k') | Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698