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

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: Use data var. 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
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;

Powered by Google App Engine
This is Rietveld 408576698