| Index: chrome/browser/sync/util/sqlite_utils.cc
|
| diff --git a/chrome/browser/sync/util/sqlite_utils.cc b/chrome/browser/sync/util/sqlite_utils.cc
|
| index 7b6f25002fb29b1d51e00e3086925d1e94183b9c..20e98961fe7e58a894f1251fe7e7111aecf52445 100644
|
| --- a/chrome/browser/sync/util/sqlite_utils.cc
|
| +++ b/chrome/browser/sync/util/sqlite_utils.cc
|
| @@ -13,6 +13,8 @@
|
| #include "base/string16.h"
|
| #include "base/synchronization/lock.h"
|
|
|
| +namespace sqlite_utils {
|
| +
|
| // The vanilla error handler implements the common fucntionality for all the
|
| // error handlers. Specialized error handlers are expected to only override
|
| // the Handler() function.
|
| @@ -85,8 +87,6 @@ SQLErrorHandlerFactory* GetErrorHandlerFactory() {
|
| return g_default_sql_error_handler_factory.Pointer();
|
| }
|
|
|
| -namespace sqlite_utils {
|
| -
|
| int OpenSqliteDb(const FilePath& filepath, sqlite3** database) {
|
| #if defined(OS_WIN)
|
| // We want the default encoding to always be UTF-8, so we use the
|
| @@ -162,8 +162,6 @@ bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name) {
|
| return s.step() == SQLITE_ROW;
|
| }
|
|
|
| -} // namespace sqlite_utils
|
| -
|
| SQLTransaction::SQLTransaction(sqlite3* db) : db_(db), began_(false) {
|
| }
|
|
|
| @@ -508,3 +506,5 @@ std::wstring SQLStatement::column_wstring(int index) {
|
| column_wstring(index, &wstr);
|
| return wstr;
|
| }
|
| +
|
| +} // namespace sqlite_utils
|
|
|