Home | History | Annotate | Download | only in glue

Lines Matching refs:Preference

48     const PrefService::Preference* pref) {
56 // The server has a value for the preference.
57 const sync_pb::PreferenceSpecifics& preference(
59 DCHECK_EQ(tag, preference.name());
63 reader.JsonToValue(preference.value(), false, false));
64 std::string pref_name = preference.name();
66 LOG(ERROR) << "Failed to deserialize preference value: "
71 // Merge the server value of this preference with the local value.
74 // Update the local preference based on what we got from the
79 LOG(WARNING) << "Synced value for " << preference.name()
100 LOG(ERROR) << "Failed to create preference sync node.";
104 // Update the sync node with the local value for this preference.
135 const PrefService::Preference* pref =
173 const PrefService::Preference*
192 const PrefService::Preference* preference, int64 sync_id) {
195 DCHECK(id_map_.find(preference->name()) == id_map_.end());
197 id_map_[preference->name()] = sync_id;
198 id_map_inverse_[sync_id] = preference->name();
221 const PrefService::Preference& local_pref,
235 // If this is not a specially handled preference, server wins.
246 LOG(ERROR) << "Failed to serialize preference value.";
250 sync_pb::PreferenceSpecifics preference;
251 preference.set_name(name);
252 preference.set_value(serialized);
253 node->SetPreferenceSpecifics(preference);
319 // The bookmark bar visibility preference requires a special