OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2013 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 17 matching lines...) Expand all Loading... |
28 #ifndef SQLStatementBackend_h | 28 #ifndef SQLStatementBackend_h |
29 #define SQLStatementBackend_h | 29 #define SQLStatementBackend_h |
30 | 30 |
31 #include "modules/webdatabase/sqlite/SQLValue.h" | 31 #include "modules/webdatabase/sqlite/SQLValue.h" |
32 #include "modules/webdatabase/AbstractSQLStatementBackend.h" | 32 #include "modules/webdatabase/AbstractSQLStatementBackend.h" |
33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
34 #include "wtf/PassOwnPtr.h" | 34 #include "wtf/PassOwnPtr.h" |
35 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace blink { |
39 | 39 |
40 class AbstractSQLStatement; | 40 class AbstractSQLStatement; |
41 class DatabaseBackend; | 41 class DatabaseBackend; |
42 class SQLErrorData; | 42 class SQLErrorData; |
43 class SQLTransactionBackend; | 43 class SQLTransactionBackend; |
44 | 44 |
45 class SQLStatementBackend FINAL : public AbstractSQLStatementBackend { | 45 class SQLStatementBackend FINAL : public AbstractSQLStatementBackend { |
46 public: | 46 public: |
47 static PassRefPtrWillBeRawPtr<SQLStatementBackend> create(PassOwnPtrWillBeRa
wPtr<AbstractSQLStatement>, | 47 static PassRefPtrWillBeRawPtr<SQLStatementBackend> create(PassOwnPtrWillBeRa
wPtr<AbstractSQLStatement>, |
48 const String& sqlStatement, const Vector<SQLValue>& arguments, int permi
ssions); | 48 const String& sqlStatement, const Vector<SQLValue>& arguments, int permi
ssions); |
(...skipping 23 matching lines...) Expand all Loading... |
72 Vector<SQLValue> m_arguments; | 72 Vector<SQLValue> m_arguments; |
73 bool m_hasCallback; | 73 bool m_hasCallback; |
74 bool m_hasErrorCallback; | 74 bool m_hasErrorCallback; |
75 | 75 |
76 OwnPtr<SQLErrorData> m_error; | 76 OwnPtr<SQLErrorData> m_error; |
77 RefPtrWillBeMember<SQLResultSet> m_resultSet; | 77 RefPtrWillBeMember<SQLResultSet> m_resultSet; |
78 | 78 |
79 int m_permissions; | 79 int m_permissions; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace WebCore | 82 } // namespace blink |
83 | 83 |
84 #endif // SQLStatementBackend_h | 84 #endif // SQLStatementBackend_h |
OLD | NEW |