Searched refs:referral_list (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/net/ |
D | predictor_unittest.cc | 267 const GURL& motivation, const ListValue& referral_list) { in FindSerializationMotivation() argument 268 CHECK_LT(0u, referral_list.GetSize()); // Room for version. in FindSerializationMotivation() 270 CHECK(referral_list.GetInteger(0, &format_version)); in FindSerializationMotivation() 273 for (size_t i = 1; i < referral_list.GetSize(); ++i) { in FindSerializationMotivation() 274 referral_list.GetList(i, &motivation_list); in FindSerializationMotivation() 296 ListValue* referral_list ) { in AddToSerializedList() argument 299 *referral_list); in AddToSerializedList() 308 referral_list->Append(motivation_list); in AddToSerializedList() 331 const ListValue& referral_list, in GetDataFromSerialization() argument 334 referral_list); in GetDataFromSerialization() [all …]
|
D | predictor.cc | 608 void Predictor::SerializeReferrers(ListValue* referral_list) { in SerializeReferrers() argument 610 referral_list->Clear(); in SerializeReferrers() 611 referral_list->Append(new FundamentalValue(PREDICTOR_REFERRER_VERSION)); in SerializeReferrers() 622 referral_list->Append(motivator); in SerializeReferrers() 626 void Predictor::DeserializeReferrers(const ListValue& referral_list) { in DeserializeReferrers() argument 629 if (referral_list.GetSize() > 0 && in DeserializeReferrers() 630 referral_list.GetInteger(0, &format_version) && in DeserializeReferrers() 632 for (size_t i = 1; i < referral_list.GetSize(); ++i) { in DeserializeReferrers() 634 if (!referral_list.GetList(i, &motivator)) { in DeserializeReferrers() 739 void Predictor::DeserializeReferrersThenDelete(ListValue* referral_list) { in DeserializeReferrersThenDelete() argument [all …]
|
D | predictor.h | 116 void SerializeReferrers(ListValue* referral_list); 121 void DeserializeReferrers(const ListValue& referral_list); 123 void DeserializeReferrersThenDelete(ListValue* referral_list);
|
D | predictor_api.cc | 409 ListValue* referral_list = in InitNetworkPredictor() local 427 referral_list, preconnect_enabled); in InitNetworkPredictor() 433 ListValue* referral_list) { in FinalizePredictorInitialization() argument 441 g_predictor->DeserializeReferrersThenDelete(referral_list); in FinalizePredictorInitialization() 457 ListValue* referral_list, in SaveDnsPrefetchStateForNextStartupAndTrimOnIOThread() argument 472 g_predictor->SerializeReferrers(referral_list); in SaveDnsPrefetchStateForNextStartupAndTrimOnIOThread()
|
D | predictor_api.h | 35 ListValue* referral_list);
|
/external/chromium/chrome/browser/ |
D | io_thread.h | 101 ListValue* referral_list, 153 ListValue* referral_list,
|
D | io_thread.cc | 342 ListValue* referral_list, in InitNetworkPredictor() argument 352 startup_urls, referral_list, preconnect_enabled)); in InitNetworkPredictor() 592 ListValue* referral_list, in InitNetworkPredictorOnIOThread() argument 610 FinalizePredictorInitialization(predictor_, startup_urls, referral_list); in InitNetworkPredictorOnIOThread()
|