OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 25 matching lines...) Expand all Loading... |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
39 #include "wtf/ThreadSafeRefCounted.h" | 39 #include "wtf/ThreadSafeRefCounted.h" |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 | 41 |
42 #if !LOG_DISABLED || !ERROR_DISABLED | 42 #if !LOG_DISABLED || !ERROR_DISABLED |
43 #include "platform/weborigin/SecurityOrigin.h" | 43 #include "platform/weborigin/SecurityOrigin.h" |
44 #endif | 44 #endif |
45 | 45 |
46 namespace WebCore { | 46 namespace blink { |
47 | 47 |
48 class DatabaseAuthorizer; | 48 class DatabaseAuthorizer; |
49 class DatabaseContext; | 49 class DatabaseContext; |
50 class DatabaseBase; | 50 class DatabaseBase; |
51 class ExecutionContext; | 51 class ExecutionContext; |
52 class SecurityOrigin; | 52 class SecurityOrigin; |
53 | 53 |
54 class DatabaseBackendBase : public ThreadSafeRefCountedWillBeGarbageCollectedFin
alized<DatabaseBackendBase> { | 54 class DatabaseBackendBase : public ThreadSafeRefCountedWillBeGarbageCollectedFin
alized<DatabaseBackendBase> { |
55 public: | 55 public: |
56 virtual ~DatabaseBackendBase(); | 56 virtual ~DatabaseBackendBase(); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 bool m_new; | 142 bool m_new; |
143 const bool m_isSyncDatabase; | 143 const bool m_isSyncDatabase; |
144 | 144 |
145 SQLiteDatabase m_sqliteDatabase; | 145 SQLiteDatabase m_sqliteDatabase; |
146 | 146 |
147 RefPtrWillBeMember<DatabaseAuthorizer> m_databaseAuthorizer; | 147 RefPtrWillBeMember<DatabaseAuthorizer> m_databaseAuthorizer; |
148 | 148 |
149 friend class DatabaseServer; | 149 friend class DatabaseServer; |
150 }; | 150 }; |
151 | 151 |
152 } // namespace WebCore | 152 } // namespace blink |
153 | 153 |
154 #endif // DatabaseBackendBase_h | 154 #endif // DatabaseBackendBase_h |
OLD | NEW |