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

Unified Diff: sync/api/sync_change.cc

Issue 217063005: Separate SyncData methods into three groups, local, remote, and common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@syncapi
Patch Set: Created 6 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/api/sync_change.cc
diff --git a/sync/api/sync_change.cc b/sync/api/sync_change.cc
index 8dedd9cb1768fbb0b3f99aebe8ae38e0cad773f7..fd11cc2025777d4e5d9e04f657b8a7a6b85a5624 100644
--- a/sync/api/sync_change.cc
+++ b/sync/api/sync_change.cc
@@ -32,7 +32,7 @@ bool SyncChange::IsValid() const {
return IsRealDataType(sync_data_.GetDataType());
// Local changes must always have a tag and specify a valid datatype.
- if (sync_data_.GetTag().empty() ||
+ if (sync_data_.local().GetTag().empty() ||
!IsRealDataType(sync_data_.GetDataType())) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698