Searched refs:PrefetchData (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor_tables.h76 struct PrefetchData { struct in class:predictors::ResourcePrefetchPredictorTables
77 PrefetchData(PrefetchKeyType key_type, const std::string& primary_key);
78 PrefetchData(const PrefetchData& other);
79 ~PrefetchData();
80 bool operator==(const PrefetchData& rhs) const;
91 // Map from primary key to PrefetchData for the key.
92 typedef std::map<std::string, PrefetchData> PrefetchDataMap;
102 virtual void UpdateData(const PrefetchData& url_data,
103 const PrefetchData
[all...]
H A Dresource_prefetch_predictor_tables.cc138 ResourcePrefetchPredictorTables::PrefetchData::PrefetchData( function in class:predictors::ResourcePrefetchPredictorTables::PrefetchData
145 ResourcePrefetchPredictorTables::PrefetchData::PrefetchData( function in class:predictors::ResourcePrefetchPredictorTables::PrefetchData
146 const PrefetchData& other)
153 ResourcePrefetchPredictorTables::PrefetchData::~PrefetchData() {
156 bool ResourcePrefetchPredictorTables::PrefetchData::operator==(
157 const PrefetchData& rhs) const {
183 const PrefetchData
[all...]
H A Dresource_prefetch_predictor_tables_unittest.cc43 typedef ResourcePrefetchPredictorTables::PrefetchData PrefetchData; typedef in class:predictors::ResourcePrefetchPredictorTablesTest
49 // Checks that the input PrefetchData are the same, although the resources
59 void PrintPrefetchData(const PrefetchData& data) const {
168 PrefetchData google(PREFETCH_KEY_TYPE_URL, "http://www.google.com");
200 PrefetchData yahoo(PREFETCH_KEY_TYPE_HOST, "www.yahoo.com");
288 PrefetchData google(PREFETCH_KEY_TYPE_URL, "http://www.google.com");
327 PrefetchData reddit(PREFETCH_KEY_TYPE_URL, "http://www.reddit.com");
346 PrefetchData yahoo(PREFETCH_KEY_TYPE_URL, "http://www.yahoo.com");
361 PrefetchData empty_host_dat
[all...]
H A Dresource_prefetch_predictor_unittest.cc31 typedef ResourcePrefetchPredictorTables::PrefetchData PrefetchData; typedef in namespace:predictors
42 void PrintTo(const PrefetchData& data, ::std::ostream* os) {
60 MOCK_METHOD2(UpdateData, void(const PrefetchData& url_data,
61 const PrefetchData& host_data));
166 PrefetchData empty_url_data_;
167 PrefetchData empty_host_data_;
211 PrefetchData google(PREFETCH_KEY_TYPE_URL, "http://www.google.com/");
249 PrefetchData reddit(PREFETCH_KEY_TYPE_URL, "http://www.reddit.com/");
268 PrefetchData yaho
[all...]
H A Dresource_prefetch_predictor.h171 typedef ResourcePrefetchPredictorTables::PrefetchData PrefetchData; typedef in class:predictors::ResourcePrefetchPredictor
206 // Returns true if there is PrefetchData that can be used for the
213 // Converts a PrefetchData into a ResourcePrefetcher::RequestVector.
214 void PopulatePrefetcherRequest(const PrefetchData& data,
H A Dresource_prefetch_predictor.cc606 const PrefetchData& data,
883 key, PrefetchData(key_type, key))).first;
989 PrefetchData empty_data(
992 const PrefetchData& host_data = is_host ? cache_entry->second : empty_data;
993 const PrefetchData& url_data = is_host ? empty_data : cache_entry->second;

Completed in 81 milliseconds