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 25 matching lines...) Expand all Loading... |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 class AbstractDatabaseServer; | 40 class AbstractDatabaseServer; |
41 class Database; | 41 class Database; |
42 class DatabaseBackendBase; | 42 class DatabaseBackendBase; |
43 class DatabaseCallback; | 43 class DatabaseCallback; |
44 class DatabaseContext; | 44 class DatabaseContext; |
45 class DatabaseSync; | 45 class DatabaseSync; |
46 class TaskSynchronizer; | 46 class DatabaseTaskSynchronizer; |
47 class ExceptionState; | 47 class ExceptionState; |
48 class SecurityOrigin; | 48 class SecurityOrigin; |
49 class ExecutionContext; | 49 class ExecutionContext; |
50 | 50 |
51 typedef int ExceptionCode; | 51 typedef int ExceptionCode; |
52 | 52 |
53 class DatabaseManager { | 53 class DatabaseManager { |
54 WTF_MAKE_NONCOPYABLE(DatabaseManager); WTF_MAKE_FAST_ALLOCATED; | 54 WTF_MAKE_NONCOPYABLE(DatabaseManager); WTF_MAKE_FAST_ALLOCATED; |
55 public: | 55 public: |
56 static DatabaseManager& manager(); | 56 static DatabaseManager& manager(); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 #if !ASSERT_DISABLED | 109 #if !ASSERT_DISABLED |
110 int m_databaseContextRegisteredCount; | 110 int m_databaseContextRegisteredCount; |
111 int m_databaseContextInstanceCount; | 111 int m_databaseContextInstanceCount; |
112 #endif | 112 #endif |
113 Mutex m_contextMapLock; | 113 Mutex m_contextMapLock; |
114 }; | 114 }; |
115 | 115 |
116 } // namespace WebCore | 116 } // namespace WebCore |
117 | 117 |
118 #endif // DatabaseManager_h | 118 #endif // DatabaseManager_h |
OLD | NEW |