OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 entry. | 3 // found in the LICENSE entry. |
4 | 4 |
5 #include "chrome/browser/sync/util/user_settings.h" | 5 #include "chrome/browser/sync/util/user_settings.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "chrome/browser/sync/util/crypto_helpers.h" | 9 #include "chrome/browser/sync/util/crypto_helpers.h" |
10 #include "chrome/browser/sync/util/data_encryption.h" | 10 #include "chrome/browser/sync/util/data_encryption.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 std::vector<uint8> encrypted_service_token; | 57 std::vector<uint8> encrypted_service_token; |
58 GetColumn(query.get(), 1, &encrypted_service_token); | 58 GetColumn(query.get(), 1, &encrypted_service_token); |
59 DecryptData(encrypted_service_token, service_token); | 59 DecryptData(encrypted_service_token, service_token); |
60 return true; | 60 return true; |
61 } | 61 } |
62 | 62 |
63 return false; | 63 return false; |
64 } | 64 } |
65 | 65 |
66 } // namespace browser_sync | 66 } // namespace browser_sync |
OLD | NEW |