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

Unified Diff: sync/internal_api/js_sync_encryption_handler_observer.cc

Issue 10878015: [Sync] Move keystore key handling to SyncEncryptionHandlerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/js_sync_encryption_handler_observer.cc
diff --git a/sync/internal_api/js_sync_encryption_handler_observer.cc b/sync/internal_api/js_sync_encryption_handler_observer.cc
index 2db5475c2ee094d8b516953e96696cae348cbaf5..b8d7730ca7893d9af8c20614603607bd93258775 100644
--- a/sync/internal_api/js_sync_encryption_handler_observer.cc
+++ b/sync/internal_api/js_sync_encryption_handler_observer.cc
@@ -49,12 +49,14 @@ void JsSyncEncryptionHandlerObserver::OnPassphraseAccepted() {
}
void JsSyncEncryptionHandlerObserver::OnBootstrapTokenUpdated(
- const std::string& boostrap_token) {
+ const std::string& boostrap_token,
+ BootstrapTokenType type) {
if (!event_handler_.IsInitialized()) {
return;
}
DictionaryValue details;
- details.SetString("bootstrapToken", "<redacted>");
akalin 2012/08/22 22:09:33 clearer to keep the redacted bootstrapToken key an
Nicolas Zea 2012/08/22 22:48:59 Done.
+ details.SetString("bootstrapTokenUpdated",
+ BootstrapTokenTypeToString(type));
HandleJsEvent(FROM_HERE, "OnBootstrapTokenUpdated", JsEventDetails(&details));
}

Powered by Google App Engine
This is Rietveld 408576698