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

Unified Diff: sync/internal_api/public/processor_entity_tracker.h

Issue 1835953002: [Sync] USS: Filter out redundant changes in SMTP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo UpdateSpecificsHash change and add DCHECK. Created 4 years, 9 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
« no previous file with comments | « sync/internal_api/processor_entity_tracker.cc ('k') | sync/internal_api/shared_model_type_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/processor_entity_tracker.h
diff --git a/sync/internal_api/public/processor_entity_tracker.h b/sync/internal_api/public/processor_entity_tracker.h
index 18a44c0bd4b186f1e14a4e4673272a0e177aa8fe..4920ac9dc067ee58d88485f15028c87ce3137068 100644
--- a/sync/internal_api/public/processor_entity_tracker.h
+++ b/sync/internal_api/public/processor_entity_tracker.h
@@ -116,6 +116,9 @@ class SYNC_EXPORT ProcessorEntityTracker {
// Check if the instance has cached commit data.
bool HasCommitData() const;
+ // Check whether |specifics| matches the stored specifics_hash.
+ bool MatchesSpecificsHash(const sync_pb::EntitySpecifics& specifics) const;
+
private:
friend class ProcessorEntityTrackerTest;
« no previous file with comments | « sync/internal_api/processor_entity_tracker.cc ('k') | sync/internal_api/shared_model_type_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698