| 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 18 matching lines...) Expand all Loading... |
| 29 #define SQLStatement_h | 29 #define SQLStatement_h |
| 30 | 30 |
| 31 #include "modules/webdatabase/sqlite/SQLValue.h" | 31 #include "modules/webdatabase/sqlite/SQLValue.h" |
| 32 #include "modules/webdatabase/AbstractSQLStatement.h" | 32 #include "modules/webdatabase/AbstractSQLStatement.h" |
| 33 #include "modules/webdatabase/SQLCallbackWrapper.h" | 33 #include "modules/webdatabase/SQLCallbackWrapper.h" |
| 34 #include "modules/webdatabase/SQLResultSet.h" | 34 #include "modules/webdatabase/SQLResultSet.h" |
| 35 #include "wtf/Forward.h" | 35 #include "wtf/Forward.h" |
| 36 #include "wtf/Vector.h" | 36 #include "wtf/Vector.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 AbstractSQLStatementBackend; | 41 class AbstractSQLStatementBackend; |
| 42 class Database; | 42 class Database; |
| 43 class SQLError; | 43 class SQLError; |
| 44 class SQLStatementCallback; | 44 class SQLStatementCallback; |
| 45 class SQLStatementErrorCallback; | 45 class SQLStatementErrorCallback; |
| 46 class SQLTransaction; | 46 class SQLTransaction; |
| 47 | 47 |
| 48 class SQLStatement FINAL : public AbstractSQLStatement { | 48 class SQLStatement FINAL : public AbstractSQLStatement { |
| 49 public: | 49 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 63 | 63 |
| 64 // The AbstractSQLStatementBackend owns the SQLStatement. Hence, the backend
is | 64 // The AbstractSQLStatementBackend owns the SQLStatement. Hence, the backend
is |
| 65 // guaranteed to be outlive the SQLStatement, and it is safe for us to refer | 65 // guaranteed to be outlive the SQLStatement, and it is safe for us to refer |
| 66 // to the backend using a raw pointer here. | 66 // to the backend using a raw pointer here. |
| 67 RawPtrWillBeMember<AbstractSQLStatementBackend> m_backend; | 67 RawPtrWillBeMember<AbstractSQLStatementBackend> m_backend; |
| 68 | 68 |
| 69 SQLCallbackWrapper<SQLStatementCallback> m_statementCallbackWrapper; | 69 SQLCallbackWrapper<SQLStatementCallback> m_statementCallbackWrapper; |
| 70 SQLCallbackWrapper<SQLStatementErrorCallback> m_statementErrorCallbackWrappe
r; | 70 SQLCallbackWrapper<SQLStatementErrorCallback> m_statementErrorCallbackWrappe
r; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace WebCore | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif // SQLStatement_h | 75 #endif // SQLStatement_h |
| OLD | NEW |