| Index: chrome/browser/sync/engine/syncapi.h
|
| diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h
|
| index bdbddc4f8969df4604c350ace84acf61dc401ea8..b7fcefaa4afdc73334576892ae21a32d2873fc1d 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();
|
|
|