Index: chrome/browser/sync/engine/syncapi.h |
diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h |
index c454c400fb737393cb3681da6c65342276470d3f..5a0cacd0bbfc88dee355330e62b2df962965fbec 100644 |
--- a/chrome/browser/sync/engine/syncapi.h |
+++ b/chrome/browser/sync/engine/syncapi.h |
@@ -254,6 +254,8 @@ class BaseNode { |
// data. Can only be called if GetModelType() == SESSIONS. |
const sync_pb::SessionSpecifics& GetSessionSpecifics() const; |
+ const sync_pb::EntitySpecifics& GetEntitySpecifics() const; |
+ |
// Returns the local external ID associated with the node. |
int64 GetExternalId() const; |
@@ -425,6 +427,9 @@ class WriteNode : public BaseNode { |
// Should only be called if GetModelType() == SESSIONS. |
void SetSessionSpecifics(const sync_pb::SessionSpecifics& specifics); |
+ // Generic set specifics method. Will extract the model type from |specifics|. |
+ void SetEntitySpecifics(const sync_pb::EntitySpecifics& specifics); |
+ |
// Resets the EntitySpecifics for this node based on the unencrypted data. |
// Will encrypt if necessary. |
void ResetFromSpecifics(); |