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 18 matching lines...) Expand all Loading... |
29 #include "modules/webdatabase/DatabaseBasicTypes.h" | 29 #include "modules/webdatabase/DatabaseBasicTypes.h" |
30 #include "modules/webdatabase/DatabaseContext.h" | 30 #include "modules/webdatabase/DatabaseContext.h" |
31 #include "modules/webdatabase/DatabaseError.h" | 31 #include "modules/webdatabase/DatabaseError.h" |
32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
33 #include "wtf/Assertions.h" | 33 #include "wtf/Assertions.h" |
34 #include "wtf/HashMap.h" | 34 #include "wtf/HashMap.h" |
35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
36 #include "wtf/ThreadingPrimitives.h" | 36 #include "wtf/ThreadingPrimitives.h" |
37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace blink { |
40 | 40 |
41 class AbstractDatabaseServer; | 41 class AbstractDatabaseServer; |
42 class Database; | 42 class Database; |
43 class DatabaseBackendBase; | 43 class DatabaseBackendBase; |
44 class DatabaseCallback; | 44 class DatabaseCallback; |
45 class DatabaseContext; | 45 class DatabaseContext; |
46 class DatabaseSync; | 46 class DatabaseSync; |
47 class TaskSynchronizer; | 47 class TaskSynchronizer; |
48 class ExceptionState; | 48 class ExceptionState; |
49 class SecurityOrigin; | 49 class SecurityOrigin; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 typedef HashMap<ExecutionContext*, RefPtr<DatabaseContext> > ContextMap; | 107 typedef HashMap<ExecutionContext*, RefPtr<DatabaseContext> > ContextMap; |
108 #endif | 108 #endif |
109 ContextMap m_contextMap; | 109 ContextMap m_contextMap; |
110 #if ENABLE(ASSERT) | 110 #if ENABLE(ASSERT) |
111 int m_databaseContextRegisteredCount; | 111 int m_databaseContextRegisteredCount; |
112 int m_databaseContextInstanceCount; | 112 int m_databaseContextInstanceCount; |
113 #endif | 113 #endif |
114 Mutex m_contextMapLock; | 114 Mutex m_contextMapLock; |
115 }; | 115 }; |
116 | 116 |
117 } // namespace WebCore | 117 } // namespace blink |
118 | 118 |
119 #endif // DatabaseManager_h | 119 #endif // DatabaseManager_h |
OLD | NEW |