Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: sql/statement.h

Issue 7353026: Move app/sql/* files to sql/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sql/sqlite_features_unittest.cc ('k') | sql/statement.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 APP_SQL_STATEMENT_H_ 5 #ifndef SQL_STATEMENT_H_
6 #define APP_SQL_STATEMENT_H_ 6 #define SQL_STATEMENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "app/sql/connection.h"
13 #include "base/basictypes.h" 12 #include "base/basictypes.h"
14 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
15 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "sql/connection.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,
24 COLUMN_TYPE_TEXT = 3, 24 COLUMN_TYPE_TEXT = 3,
25 COLUMN_TYPE_BLOB = 4, 25 COLUMN_TYPE_BLOB = 4,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 scoped_refptr<Connection::StatementRef> ref_; 157 scoped_refptr<Connection::StatementRef> ref_;
158 158
159 // See Succeeded() for what this holds. 159 // See Succeeded() for what this holds.
160 bool succeeded_; 160 bool succeeded_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(Statement); 162 DISALLOW_COPY_AND_ASSIGN(Statement);
163 }; 163 };
164 164
165 } // namespace sql 165 } // namespace sql
166 166
167 #endif // APP_SQL_STATEMENT_H_ 167 #endif // SQL_STATEMENT_H_
OLDNEW
« no previous file with comments | « sql/sqlite_features_unittest.cc ('k') | sql/statement.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698