summaryrefslogtreecommitdiffstats
path: root/sql/connection.h
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-05-11 15:31:26 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-11 22:31:49 +0000
commit720d4f346cee3fa9ea9c58b845550e7066a80ec2 (patch)
treee452763cf49776c93a2779e8e08fc90b51690ee4 /sql/connection.h
parentc16f8dcdc00218681934a1425f53c9badefbe01a (diff)
downloadchromium_src-720d4f346cee3fa9ea9c58b845550e7066a80ec2.zip
chromium_src-720d4f346cee3fa9ea9c58b845550e7066a80ec2.tar.gz
chromium_src-720d4f346cee3fa9ea9c58b845550e7066a80ec2.tar.bz2
sql: Remove basictypes.h includes.
* Use the standard integer types from stdint.h instead. * Use macros.h for the DISALLOW_COPY_AND_ASSIGN macro. BUG=138542 TEST=sql_unittests R=shess@chromium.org Review URL: https://codereview.chromium.org/1133053004 Cr-Commit-Position: refs/heads/master@{#329256}
Diffstat (limited to 'sql/connection.h')
-rw-r--r--sql/connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/connection.h b/sql/connection.h
index 2f6c71f..17d1191 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -5,14 +5,15 @@
#ifndef SQL_CONNECTION_H_
#define SQL_CONNECTION_H_
+#include <stdint.h>
#include <map>
#include <set>
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_restrictions.h"
@@ -372,7 +373,7 @@ class SQL_EXPORT Connection {
// Returns sqlite's internal ID for the last inserted row. Valid only
// immediately after an insert.
- int64 GetLastInsertRowId() const;
+ int64_t GetLastInsertRowId() const;
// Returns sqlite's count of the number of rows modified by the last
// statement executed. Will be 0 if no statement has executed or the database