Home
last modified time | relevance | path

Searched refs:subresource_list (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/net/
Dreferrer.cc126 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() local
154 subresource_list->Append(url_spec); in Serialize()
155 subresource_list->Append(rate); in Serialize()
157 return subresource_list; in Serialize()
Dpredictor_unittest.cc311 ListValue* subresource_list(NULL); in AddToSerializedList() local
313 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() local
338 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()
Dpredictor.cc615 Value* subresource_list(it->second.Serialize()); in SerializeReferrers() local
620 motivator->Append(subresource_list); in SerializeReferrers()
644 Value* subresource_list; in DeserializeReferrers() local
645 if (!motivator->Get(1, &subresource_list)) { in DeserializeReferrers()
650 referrers_[GURL(motivating_url_spec)].Deserialize(*subresource_list); in DeserializeReferrers()