OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 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 * | 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 16 matching lines...) Expand all Loading... |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "modules/webdatabase/DatabaseTask.h" | 30 #include "modules/webdatabase/DatabaseTask.h" |
31 | 31 |
32 #include "platform/Logging.h" | 32 #include "platform/Logging.h" |
33 #include "modules/webdatabase/Database.h" | 33 #include "modules/webdatabase/Database.h" |
34 #include "modules/webdatabase/DatabaseContext.h" | 34 #include "modules/webdatabase/DatabaseContext.h" |
35 #include "modules/webdatabase/DatabaseThread.h" | 35 #include "modules/webdatabase/DatabaseThread.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace blink { |
38 | 38 |
39 DatabaseTask::DatabaseTask(DatabaseBackend* database, TaskSynchronizer* synchron
izer) | 39 DatabaseTask::DatabaseTask(DatabaseBackend* database, TaskSynchronizer* synchron
izer) |
40 : m_database(database) | 40 : m_database(database) |
41 , m_synchronizer(synchronizer) | 41 , m_synchronizer(synchronizer) |
42 #if !LOG_DISABLED | 42 #if !LOG_DISABLED |
43 , m_complete(false) | 43 , m_complete(false) |
44 #endif | 44 #endif |
45 { | 45 { |
46 } | 46 } |
47 | 47 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 m_tableNames = Database::from(database())->performGetTableNames(); | 181 m_tableNames = Database::from(database())->performGetTableNames(); |
182 } | 182 } |
183 | 183 |
184 #if !LOG_DISABLED | 184 #if !LOG_DISABLED |
185 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const | 185 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const |
186 { | 186 { |
187 return "DatabaseTableNamesTask"; | 187 return "DatabaseTableNamesTask"; |
188 } | 188 } |
189 #endif | 189 #endif |
190 | 190 |
191 } // namespace WebCore | 191 } // namespace blink |
OLD | NEW |