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

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

Issue 10878015: [Sync] Move keystore key handling to SyncEncryptionHandlerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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
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 7e404b77b4864e0994450937fd79624fae4a7fe1..fec272038a7dab645524bf1582a0cbb7de5bbe64 100644
--- a/sync/internal_api/public/util/sync_string_conversions.cc
+++ b/sync/internal_api/public/util/sync_string_conversions.cc
@@ -44,4 +44,14 @@ const char* PassphraseStateToString(PassphraseState state) {
}
}
+const char* BootstrapTokenTypeToString(BootstrapTokenType type) {
+ switch (type) {
+ ENUM_CASE(PASSPHRASE_BOOTSTRAP_TOKEN);
+ ENUM_CASE(KEYSTORE_BOOTSTRAP_TOKEN);
+ default:
+ NOTREACHED();
+ return "INVALID_BOOTSTRAP_TOKEN_TYPE";
+ }
+}
+
} // namespace syncer
« 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