OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 21 matching lines...) Expand all Loading... |
32 #ifndef SQLTransactionBackendSync_h | 32 #ifndef SQLTransactionBackendSync_h |
33 #define SQLTransactionBackendSync_h | 33 #define SQLTransactionBackendSync_h |
34 | 34 |
35 #include "modules/webdatabase/DatabaseBasicTypes.h" | 35 #include "modules/webdatabase/DatabaseBasicTypes.h" |
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/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
39 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 | 41 |
42 namespace WebCore { | 42 namespace blink { |
43 | 43 |
44 class DatabaseSync; | 44 class DatabaseSync; |
45 class SQLResultSet; | 45 class SQLResultSet; |
46 class SQLTransactionClient; | 46 class SQLTransactionClient; |
47 class SQLTransactionSyncCallback; | 47 class SQLTransactionSyncCallback; |
48 class SQLValue; | 48 class SQLValue; |
49 class SQLiteTransaction; | 49 class SQLiteTransaction; |
50 class ExceptionState; | 50 class ExceptionState; |
51 | 51 |
52 // Instances of this class should be created and used only on the worker's conte
xt thread. | 52 // Instances of this class should be created and used only on the worker's conte
xt thread. |
(...skipping 20 matching lines...) Expand all Loading... |
73 bool m_readOnly; | 73 bool m_readOnly; |
74 bool m_hasVersionMismatch; | 74 bool m_hasVersionMismatch; |
75 | 75 |
76 bool m_modifiedDatabase; | 76 bool m_modifiedDatabase; |
77 OwnPtr<SQLTransactionClient> m_transactionClient; | 77 OwnPtr<SQLTransactionClient> m_transactionClient; |
78 OwnPtr<SQLiteTransaction> m_sqliteTransaction; | 78 OwnPtr<SQLiteTransaction> m_sqliteTransaction; |
79 | 79 |
80 friend class SQLTransactionSync; // FIXME: Remove this once the front-end ha
s been properly isolated. | 80 friend class SQLTransactionSync; // FIXME: Remove this once the front-end ha
s been properly isolated. |
81 }; | 81 }; |
82 | 82 |
83 } // namespace WebCore | 83 } // namespace blink |
84 | 84 |
85 #endif // SQLTransactionBackendSync_h | 85 #endif // SQLTransactionBackendSync_h |
OLD | NEW |