OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SQL_STATEMENT_H_ | 5 #ifndef SQL_STATEMENT_H_ |
6 #define SQL_STATEMENT_H_ | 6 #define SQL_STATEMENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "sql/connection.h" | 14 #include "sql/connection.h" |
15 #include "sql/sql_export.h" | 15 #include "sql/sql_export.h" |
16 | 16 |
17 namespace sql { | 17 namespace sql { |
18 | 18 |
19 // Possible return values from ColumnType in a statement. These should match | 19 // Possible return values from ColumnType in a statement. These should match |
20 // the values in sqlite3.h. | 20 // the values in sqlite3.h. |
21 enum ColType { | 21 enum ColType { |
22 COLUMN_TYPE_INTEGER = 1, | 22 COLUMN_TYPE_INTEGER = 1, |
23 COLUMN_TYPE_FLOAT = 2, | 23 COLUMN_TYPE_FLOAT = 2, |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 // See Succeeded() for what this holds. | 181 // See Succeeded() for what this holds. |
182 bool succeeded_; | 182 bool succeeded_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(Statement); | 184 DISALLOW_COPY_AND_ASSIGN(Statement); |
185 }; | 185 }; |
186 | 186 |
187 } // namespace sql | 187 } // namespace sql |
188 | 188 |
189 #endif // SQL_STATEMENT_H_ | 189 #endif // SQL_STATEMENT_H_ |
OLD | NEW |