Lines Matching refs:update

41     // it to the update just yet.
47 update.set_id_string("I");
48 update.set_parent_id_string("P");
49 update.set_version(10);
50 update.set_mtime(100);
51 update.set_ctime(100);
52 update.set_deleted(false);
53 update.mutable_specifics()->mutable_bookmark()->set_title("Chrome");
54 update.mutable_specifics()->mutable_bookmark()->
59 update.set_originator_cache_guid("CacheGUID");
60 update.set_originator_client_item_id("OrigID");
64 test_position.ToProto(update.mutable_unique_position());
68 update.set_position_in_parent(pos_value);
71 sync_pb::SyncEntity update;
85 std::string suffix1 = GetUniqueBookmarkTagFromUpdate(update);
86 std::string suffix2 = GetUniqueBookmarkTagFromUpdate(update);
92 // Receive an update without the ingredients used to make a consistent suffix.
94 // The server should never send us an update like this. If it does,
101 std::string suffix1 = GetUniqueBookmarkTagFromUpdate(update);
102 std::string suffix2 = GetUniqueBookmarkTagFromUpdate(update);
113 std::string suffix = GetUniqueBookmarkTagFromUpdate(update);
116 UniquePosition pos = GetUpdatePosition(update, suffix);
128 std::string suffix = GetUniqueBookmarkTagFromUpdate(update);
132 UniquePosition int64_pos = GetUpdatePosition(update, suffix);
135 // Move the test harness' position value into the update proto.
138 UniquePosition pos = GetUpdatePosition(update, suffix);
146 std::string suffix = GetUniqueBookmarkTagFromUpdate(update);
147 UniquePosition pos = GetUpdatePosition(update, suffix);
164 InitSuffixIngredients(); // Initialize update with valid data.
173 // Before update, target has invalid bookmark tag and unique position.
176 UpdateServerFieldsFromUpdate(&target, update, "name");
178 // After update, target has valid bookmark tag and unique position.
187 // Do not initialize data in update, update is invalid.
196 // Before update, target has invalid bookmark tag and unique position.
199 UpdateServerFieldsFromUpdate(&target, update, "name");
201 // After update, target has valid bookmark tag and unique position.