| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef DatabaseManager_h | 26 #ifndef DatabaseManager_h |
| 27 #define DatabaseManager_h | 27 #define DatabaseManager_h |
| 28 | 28 |
| 29 #include "modules/webdatabase/DatabaseContext.h" | 29 #include "modules/webdatabase/DatabaseContext.h" |
| 30 #include "modules/webdatabase/DatabaseError.h" | 30 #include "modules/webdatabase/DatabaseError.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "wtf/Assertions.h" | 32 #include "platform/wtf/Assertions.h" |
| 33 #include "wtf/Forward.h" | 33 #include "platform/wtf/Forward.h" |
| 34 #include "wtf/HashMap.h" | 34 #include "platform/wtf/HashMap.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class Database; | 38 class Database; |
| 39 class DatabaseCallback; | 39 class DatabaseCallback; |
| 40 class DatabaseContext; | 40 class DatabaseContext; |
| 41 class ExceptionState; | 41 class ExceptionState; |
| 42 class SecurityOrigin; | 42 class SecurityOrigin; |
| 43 class ExecutionContext; | 43 class ExecutionContext; |
| 44 | 44 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 ContextMap context_map_; | 110 ContextMap context_map_; |
| 111 #if DCHECK_IS_ON() | 111 #if DCHECK_IS_ON() |
| 112 int database_context_registered_count_ = 0; | 112 int database_context_registered_count_ = 0; |
| 113 int database_context_instance_count_ = 0; | 113 int database_context_instance_count_ = 0; |
| 114 #endif | 114 #endif |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif // DatabaseManager_h | 119 #endif // DatabaseManager_h |
| OLD | NEW |