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

Unified Diff: sql/statement.h

Issue 9159020: Create a class to represent a DOM Storage Database. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments, streamline tests and allow them to operate on in-memory databases. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: sql/statement.h
diff --git a/sql/statement.h b/sql/statement.h
index c7e2c40542f90f00b71c5a84d31ea5a89e4c82d4..2d285925bb7f13f9a204a9a11adb49bfbf30cc19 100644
--- a/sql/statement.h
+++ b/sql/statement.h
@@ -126,6 +126,7 @@ class SQL_EXPORT Statement {
// where that type is not the native type. For safety, call ColumnType only
// on a column before getting the value out in any way.
ColType ColumnType(int col) const;
+ ColType DeclaredColumnType(int col) const;
// These all take a 0-based argument index.
bool ColumnBool(int col) const;
@@ -141,6 +142,7 @@ class SQL_EXPORT Statement {
int ColumnByteLength(int col) const;
const void* ColumnBlob(int col) const;
bool ColumnBlobAsString(int col, std::string* blob);
+ bool ColumnBlobAsString16(int col, string16* val) const;
bool ColumnBlobAsVector(int col, std::vector<char>* val) const;
bool ColumnBlobAsVector(int col, std::vector<unsigned char>* val) const;

Powered by Google App Engine
This is Rietveld 408576698