Lines Matching refs:property
63 const Property& property = kProperties[i]; in PlumbPropertyStore() local
64 const string name(string(kConfigKeyPrefix) + property.name); in PlumbPropertyStore()
65 const string saved_name(string(kSavedConfigKeyPrefix) + property.name); in PlumbPropertyStore()
66 switch (property.type) { in PlumbPropertyStore()
153 const Property& property = kProperties[i]; in Load() local
154 const string name(string(kConfigKeyPrefix) + property.name); in Load()
155 switch (property.type) { in Load()
160 args_.SetInt(property.name, value); in Load()
162 args_.RemoveInt(property.name); in Load()
170 args_.SetString(property.name, value); in Load()
172 args_.RemoveString(property.name); in Load()
184 args_.SetStrings(property.name, string_list); in Load()
186 args_.RemoveStrings(property.name); in Load()
200 const Property& property = kProperties[i]; in Save() local
201 const string name(string(kConfigKeyPrefix) + property.name); in Save()
203 switch (property.type) { in Save()
205 if (args_.ContainsInt(property.name)) { in Save()
207 storage->SetInt(storage_id, name, args_.GetInt(property.name)); in Save()
211 if (args_.ContainsString(property.name)) { in Save()
213 storage->SetString(storage_id, name, args_.GetString(property.name)); in Save()
217 if (args_.ContainsStrings(property.name)) { in Save()
223 base::JoinString(args_.GetStrings(property.name), ",")); in Save()
237 const string& property, int32_t* value_out) { in ApplyInt() argument
238 saved_args_.SetInt(property, *value_out); in ApplyInt()
239 if (args_.ContainsInt(property)) { in ApplyInt()
240 *value_out = args_.GetInt(property); in ApplyInt()
245 const string& property, string* value_out) { in ApplyString() argument
246 saved_args_.SetString(property, *value_out); in ApplyString()
247 if (args_.ContainsString(property)) { in ApplyString()
248 *value_out = args_.GetString(property); in ApplyString()
253 const string& property, vector<string>* value_out) { in ApplyStrings() argument
254 saved_args_.SetStrings(property, *value_out); in ApplyStrings()
255 if (args_.ContainsStrings(property)) { in ApplyStrings()
256 *value_out = args_.GetStrings(property); in ApplyStrings()
307 const Property& property = kProperties[index]; in ClearMappedProperty() local
308 switch (property.type) { in ClearMappedProperty()
310 if (args_.ContainsInt(property.name)) { in ClearMappedProperty()
311 args_.RemoveInt(property.name); in ClearMappedProperty()
317 if (args_.ContainsString(property.name)) { in ClearMappedProperty()
318 args_.RemoveString(property.name); in ClearMappedProperty()
324 if (args_.ContainsStrings(property.name)) { in ClearMappedProperty()
325 args_.RemoveStrings(property.name); in ClearMappedProperty()