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

Unified Diff: chrome/browser/sync/util/user_settings_posix.cc

Issue 7528026: sync: Put sqlite_utils.* into sqlite_utils namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/sync/util/user_settings.cc ('k') | chrome/browser/sync/util/user_settings_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/user_settings_posix.cc
diff --git a/chrome/browser/sync/util/user_settings_posix.cc b/chrome/browser/sync/util/user_settings_posix.cc
index 48baf78f3179cc69281965be712994f76a66ce55..660c2823b88cdb33e79f3f02eaa28da0891d5712 100644
--- a/chrome/browser/sync/util/user_settings_posix.cc
+++ b/chrome/browser/sync/util/user_settings_posix.cc
@@ -27,7 +27,7 @@ void UserSettings::SetAuthTokenForService(
return;
}
ScopedDBHandle dbhandle(this);
- SQLStatement statement;
+ sqlite_utils::SQLStatement statement;
statement.prepare(dbhandle.get(),
"INSERT INTO cookies "
"(email, service_name, service_token) "
@@ -45,7 +45,7 @@ bool UserSettings::GetLastUserAndServiceToken(const std::string& service_name,
std::string* username,
std::string* service_token) {
ScopedDBHandle dbhandle(this);
- SQLStatement query;
+ sqlite_utils::SQLStatement query;
query.prepare(dbhandle.get(),
"SELECT email, service_token FROM cookies"
" WHERE service_name = ?");
« no previous file with comments | « chrome/browser/sync/util/user_settings.cc ('k') | chrome/browser/sync/util/user_settings_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698