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

Unified Diff: chrome/browser/sync/glue/password_change_processor.cc

Issue 6465005: [Sync] Initial support for encrypting any datatype (no UI hookup yet). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 10 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: chrome/browser/sync/glue/password_change_processor.cc
diff --git a/chrome/browser/sync/glue/password_change_processor.cc b/chrome/browser/sync/glue/password_change_processor.cc
index adb7d35ec71bae7d7566b3565c340a84756dc04f..30d77fae7001395eac2a34201e0f32f57b148435 100644
--- a/chrome/browser/sync/glue/password_change_processor.cc
+++ b/chrome/browser/sync/glue/password_change_processor.cc
@@ -150,8 +150,7 @@ void PasswordChangeProcessor::ApplyChangesFromSyncModel(
<< "Password specifics data not present on delete!";
DCHECK(changes[i].extra.get());
sync_api::SyncManager::ExtraPasswordChangeRecordData* extra =
- static_cast<sync_api::SyncManager::ExtraPasswordChangeRecordData*>(
- changes[i].extra.get());
+ changes[i].extra.get();
const sync_pb::PasswordSpecificsData& password = extra->unencrypted();
webkit_glue::PasswordForm form;
PasswordModelAssociator::CopyPassword(password, &form);

Powered by Google App Engine
This is Rietveld 408576698