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

Unified Diff: components/cryptauth/cryptauth_enrollment_manager.cc

Issue 2587963003: [CrOS Tether]: Add LocalDeviceDataProvider, which fetches device data for the local device. (Closed)
Patch Set: Rebased. Created 4 years 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 | « components/cryptauth/cryptauth_enrollment_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/cryptauth_enrollment_manager.cc
diff --git a/components/cryptauth/cryptauth_enrollment_manager.cc b/components/cryptauth/cryptauth_enrollment_manager.cc
index 6da6468eea32fa70f3e32f53bb1147589fb6f60c..5a3befac04537e7352c8ebbcc2a937f15254861b 100644
--- a/components/cryptauth/cryptauth_enrollment_manager.cc
+++ b/components/cryptauth/cryptauth_enrollment_manager.cc
@@ -167,7 +167,7 @@ CryptAuthEnrollmentManager::CreateSyncScheduler() {
kEnrollmentMaxJitterRatio, "CryptAuth Enrollment");
}
-std::string CryptAuthEnrollmentManager::GetUserPublicKey() {
+std::string CryptAuthEnrollmentManager::GetUserPublicKey() const {
std::string public_key;
if (!base::Base64UrlDecode(
pref_service_->GetString(prefs::kCryptAuthEnrollmentUserPublicKey),
@@ -178,7 +178,7 @@ std::string CryptAuthEnrollmentManager::GetUserPublicKey() {
return public_key;
}
-std::string CryptAuthEnrollmentManager::GetUserPrivateKey() {
+std::string CryptAuthEnrollmentManager::GetUserPrivateKey() const {
std::string private_key;
if (!base::Base64UrlDecode(
pref_service_->GetString(prefs::kCryptAuthEnrollmentUserPrivateKey),
« no previous file with comments | « components/cryptauth/cryptauth_enrollment_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698