Searched refs:subresource_list (Results 1 – 3 of 3) sorted by relevance
126 const ListValue* subresource_list(static_cast<const ListValue*>(&value)); in Deserialize()130 if (!subresource_list->GetString(index++, &url_spec)) in Deserialize()133 if (!subresource_list->GetDouble(index++, &rate)) in Deserialize()148 ListValue* subresource_list(new ListValue); in Serialize() local154 subresource_list->Append(url_spec); in Serialize()155 subresource_list->Append(rate); in Serialize()157 return subresource_list; in Serialize()
311 ListValue* subresource_list(NULL); in AddToSerializedList() local313 EXPECT_TRUE(motivation_list->GetList(1, &subresource_list)); in AddToSerializedList()319 subresource_list->Append(new StringValue(subresource.spec())); in AddToSerializedList()320 subresource_list->Append(new FundamentalValue(use_rate)); in AddToSerializedList()337 ListValue* subresource_list; in GetDataFromSerialization() local338 EXPECT_TRUE(motivation_list->GetList(1, &subresource_list)); in GetDataFromSerialization()339 for (size_t i = 0; i < subresource_list->GetSize();) { in GetDataFromSerialization()341 EXPECT_TRUE(subresource_list->GetString(i++, &url_spec)); in GetDataFromSerialization()342 EXPECT_TRUE(subresource_list->GetDouble(i++, use_rate)); in GetDataFromSerialization()
615 Value* subresource_list(it->second.Serialize()); in SerializeReferrers() local620 motivator->Append(subresource_list); in SerializeReferrers()644 Value* subresource_list; in DeserializeReferrers() local645 if (!motivator->Get(1, &subresource_list)) { in DeserializeReferrers()650 referrers_[GURL(motivating_url_spec)].Deserialize(*subresource_list); in DeserializeReferrers()