Index: sync/internal_api/public/write_node.h |
diff --git a/sync/internal_api/public/write_node.h b/sync/internal_api/public/write_node.h |
index 73baa6f53695c43d540ccfc15e6cbbed2139100b..990f0408e19c4aeedaea44d2e28e781ec302ac8b 100644 |
--- a/sync/internal_api/public/write_node.h |
+++ b/sync/internal_api/public/write_node.h |
@@ -67,15 +67,12 @@ class SYNC_EXPORT WriteNode : public BaseNode { |
ModelType model_type, |
const std::string& tag) OVERRIDE; |
- // Create a new node with the specified parent and predecessor. |model_type| |
- // dictates the type of the item, and controls which EntitySpecifics proto |
- // extension can be used with this item. Use a NULL |predecessor| |
- // to indicate that this is to be the first child. |
+ // Create a new bookmark node with the specified parent and predecessor. Use |
+ // a NULL |predecessor| to indicate that this is to be the first child. |
// |predecessor| must be a child of |new_parent| or NULL. Returns false on |
// failure. |
- bool InitByCreation(ModelType model_type, |
- const BaseNode& parent, |
- const BaseNode* predecessor); |
+ bool InitBookmarkByCreation(const BaseNode& parent, |
+ const BaseNode* predecessor); |
// Create nodes using this function if they're unique items that |
// you want to fetch using client_tag. Note that the behavior of these |
@@ -183,9 +180,6 @@ class SYNC_EXPORT WriteNode : public BaseNode { |
void* operator new(size_t size); // Node is meant for stack use only. |
- // Helper to set model type. This will clear any specifics data. |
- void PutModelType(ModelType model_type); |
- |
// Helper to set the previous node. |
bool PutPredecessor(const BaseNode* predecessor) WARN_UNUSED_RESULT; |