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

Unified Diff: sync/internal_api/public/util/sync_string_conversions.cc

Issue 10916036: [Sync] Implement keystore migration support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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
Index: sync/internal_api/public/util/sync_string_conversions.cc
diff --git a/sync/internal_api/public/util/sync_string_conversions.cc b/sync/internal_api/public/util/sync_string_conversions.cc
index fec272038a7dab645524bf1582a0cbb7de5bbe64..495fadfb3c40b8a9c12a75a607330fa2e705c0e1 100644
--- a/sync/internal_api/public/util/sync_string_conversions.cc
+++ b/sync/internal_api/public/util/sync_string_conversions.cc
@@ -32,15 +32,15 @@ const char* PassphraseRequiredReasonToString(
}
}
-const char* PassphraseStateToString(PassphraseState state) {
- switch (state) {
+const char* PassphraseTypeToString(PassphraseType type) {
+ switch (type) {
ENUM_CASE(IMPLICIT_PASSPHRASE);
ENUM_CASE(KEYSTORE_PASSPHRASE);
ENUM_CASE(FROZEN_IMPLICIT_PASSPHRASE);
ENUM_CASE(CUSTOM_PASSPHRASE);
default:
NOTREACHED();
- return "INVALID_PASSPHRASE_STATE";
+ return "INVALID_PASSPHRASE_TYPE";
}
}
« no previous file with comments | « sync/internal_api/public/util/sync_string_conversions.h ('k') | sync/internal_api/sync_encryption_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698