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

Unified Diff: chrome/browser/sync/util/user_settings_win.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_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/user_settings_win.cc
diff --git a/chrome/browser/sync/util/user_settings_win.cc b/chrome/browser/sync/util/user_settings_win.cc
index d55e459fecdbbae6554047d9b794e72a08b3328b..9620f36699feb359e9ba71f19e6adea7868baca0 100644
--- a/chrome/browser/sync/util/user_settings_win.cc
+++ b/chrome/browser/sync/util/user_settings_win.cc
@@ -17,7 +17,7 @@ namespace browser_sync {
void UserSettings::SetAuthTokenForService(const string& email,
const string& service_name, const string& long_lived_service_token) {
ScopedDBHandle dbhandle(this);
- SQLStatement statement;
+ sqlite_utils::SQLStatement statement;
statement.prepare(dbhandle.get(),
"INSERT INTO cookies "
"(email, service_name, service_token) "
@@ -36,7 +36,7 @@ bool UserSettings::GetLastUserAndServiceToken(const string& service_name,
string* username,
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_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698