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

Side by Side Diff: chrome/browser/sync/util/user_settings_posix.cc

Issue 7550059: Move sqlite_utils.* to sync/util/ directory. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Implement the storage of service tokens in memory. 5 // Implement the storage of service tokens in memory.
6 6
7 #include "chrome/browser/sync/util/user_settings.h" 7 #include "chrome/browser/sync/util/user_settings.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/password_manager/encryptor.h" 10 #include "chrome/browser/password_manager/encryptor.h"
11 #include "chrome/common/sqlite_utils.h" 11 #include "chrome/browser/sync/util/sqlite_utils.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 void UserSettings::SetAuthTokenForService( 15 void UserSettings::SetAuthTokenForService(
16 const std::string& email, 16 const std::string& email,
17 const std::string& service_name, 17 const std::string& service_name,
18 const std::string& long_lived_service_token) { 18 const std::string& long_lived_service_token) {
19 19
20 VLOG(1) << "Saving auth token " << long_lived_service_token 20 VLOG(1) << "Saving auth token " << long_lived_service_token
21 << " for " << email << "for service " << service_name; 21 << " for " << email << "for service " << service_name;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 return true; 66 return true;
67 } 67 }
68 68
69 VLOG(1) << "Couldn't find service token for " << service_name; 69 VLOG(1) << "Couldn't find service token for " << service_name;
70 70
71 return false; 71 return false;
72 } 72 }
73 73
74 } // namespace browser_sync 74 } // namespace browser_sync
OLDNEW
« 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