summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 22:26:12 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 22:26:12 +0000
commita4d8a7bb664645e18a1d6045e94aa1f714a0a404 (patch)
tree1e402d9c10dfec493be4710e10eba3348b780f7a /chrome/browser/sync/syncable
parent4354027e1b08d8ee2fca342c900bc9748e0d2863 (diff)
downloadchromium_src-a4d8a7bb664645e18a1d6045e94aa1f714a0a404.zip
chromium_src-a4d8a7bb664645e18a1d6045e94aa1f714a0a404.tar.gz
chromium_src-a4d8a7bb664645e18a1d6045e94aa1f714a0a404.tar.bz2
Wrap Sqlite utils functions into a sqlite_utils namespace.
Note: this was a TODO. BUG=None TEST=compiles Review URL: http://codereview.chromium.org/2410002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/syncable')
-rw-r--r--chrome/browser/sync/syncable/directory_backing_store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/syncable/directory_backing_store.cc b/chrome/browser/sync/syncable/directory_backing_store.cc
index 5962a02..2a29789 100644
--- a/chrome/browser/sync/syncable/directory_backing_store.cc
+++ b/chrome/browser/sync/syncable/directory_backing_store.cc
@@ -179,7 +179,7 @@ DirectoryBackingStore::~DirectoryBackingStore() {
bool DirectoryBackingStore::OpenAndConfigureHandleHelper(
sqlite3** handle) const {
- if (SQLITE_OK == OpenSqliteDb(backing_filepath_, handle)) {
+ if (SQLITE_OK == sqlite_utils::OpenSqliteDb(backing_filepath_, handle)) {
sqlite_utils::scoped_sqlite_db_ptr scoped_handle(*handle);
sqlite3_busy_timeout(scoped_handle.get(), std::numeric_limits<int>::max());
{
@@ -719,7 +719,7 @@ bool DirectoryBackingStore::SetVersion(int version) {
}
int DirectoryBackingStore::GetVersion() {
- if (!DoesSqliteTableExist(load_dbhandle_, "share_version"))
+ if (!sqlite_utils::DoesSqliteTableExist(load_dbhandle_, "share_version"))
return 0;
SQLStatement version_query;
version_query.prepare(load_dbhandle_, "SELECT data from share_version");