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

Unified Diff: sql/statement.cc

Issue 1133053004: sql: Remove basictypes.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « sql/statement.h ('k') | sql/test/scoped_error_ignorer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/statement.cc
diff --git a/sql/statement.cc b/sql/statement.cc
index 6dbd8d9ca534eb2093cfd4e89064cc39f94b9c15..d0e7489c73a43b7e7f26524e004fb36f9340a500 100644
--- a/sql/statement.cc
+++ b/sql/statement.cc
@@ -112,7 +112,7 @@ bool Statement::BindInt(int col, int val) {
return CheckOk(sqlite3_bind_int(ref_->stmt(), col + 1, val));
}
-bool Statement::BindInt64(int col, int64 val) {
+bool Statement::BindInt64(int col, int64_t val) {
DCHECK(!stepped_);
if (!is_valid())
return false;
@@ -207,7 +207,7 @@ int Statement::ColumnInt(int col) const {
return sqlite3_column_int(ref_->stmt(), col);
}
-int64 Statement::ColumnInt64(int col) const {
+int64_t Statement::ColumnInt64(int col) const {
if (!CheckValid())
return 0;
@@ -299,9 +299,8 @@ bool Statement::ColumnBlobAsVector(int col, std::vector<char>* val) const {
return true;
}
-bool Statement::ColumnBlobAsVector(
- int col,
- std::vector<unsigned char>* val) const {
+bool Statement::ColumnBlobAsVector(int col,
+ std::vector<unsigned char>* val) const {
Scott Hess - ex-Googler 2015/05/11 20:34:23 If this is clang-format results, then that's fine.
tfarina 2015/05/11 20:39:07 It was. Sorry, I should not have mixed this with t
return ColumnBlobAsVector(col, reinterpret_cast< std::vector<char>* >(val));
}
« no previous file with comments | « sql/statement.h ('k') | sql/test/scoped_error_ignorer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698