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

Unified Diff: sync/syncable/nigori_handler.h

Issue 10844005: [Sync] Refactor GetEncryptedTypes usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always trigger OnEncryptedTypesChanged on init 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/syncable/nigori_handler.h
diff --git a/sync/syncable/nigori_handler.h b/sync/syncable/nigori_handler.h
index 94bb6449aeef981092adf4b0b95ef03bc3863c7a..9ea1b0ec89be7ccd803f48ec7d8ff43bc4a7cc33 100644
--- a/sync/syncable/nigori_handler.h
+++ b/sync/syncable/nigori_handler.h
@@ -36,8 +36,8 @@ class NigoriHandler {
syncable::BaseTransaction* const trans) const = 0;
// Returns the set of currently encrypted types.
- // TODO(zea): force callers to pass their syncable trans here.
- virtual ModelTypeSet GetEncryptedTypes() const = 0;
+ virtual ModelTypeSet GetEncryptedTypes(
+ syncable::BaseTransaction* const trans) const = 0;
};
} // namespace syncable

Powered by Google App Engine
This is Rietveld 408576698