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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 7551024: [Sync] Fix encryption/passphrase handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index cef7d6185025d8c6c84b7868bacfea5f25ec6cad..0edc4a81e1bdadfae4bbd7024b1e34daf88e693d 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -631,9 +631,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
base::OneShotTimer<ProfileSyncService> clear_server_data_timer_;
// The most recently requested set of types to encrypt. Set by the user,
- // and cached if the syncer was unable to encrypt new types (for example
- // because we haven't finished initializing). Cleared when we successfully
- // post a new encrypt task to the sync backend.
+ // and cached until the syncer either finishes encryption
+ // (OnEncryptionComplete) or the user cancels.
syncable::ModelTypeSet pending_types_for_encryption_;
scoped_ptr<browser_sync::BackendMigrator> migrator_;

Powered by Google App Engine
This is Rietveld 408576698