| Index: chrome/browser/predictors/resource_prefetch_predictor.h
|
| diff --git a/chrome/browser/predictors/resource_prefetch_predictor.h b/chrome/browser/predictors/resource_prefetch_predictor.h
|
| index b50a4f6b46164f99638883b3d8fd619dafb18847..85b2ce270e553cf13b1ae6a119ab1cb1d00ec7b3 100644
|
| --- a/chrome/browser/predictors/resource_prefetch_predictor.h
|
| +++ b/chrome/browser/predictors/resource_prefetch_predictor.h
|
| @@ -119,6 +119,10 @@ class ResourcePrefetchPredictor
|
| Profile* profile);
|
| ~ResourcePrefetchPredictor() override;
|
|
|
| + // Starts initialization by posting a task to the DB thread to read the
|
| + // predictor database.
|
| + void StartInitialization();
|
| +
|
| // Thread safe.
|
| static bool ShouldRecordRequest(net::URLRequest* request,
|
| content::ResourceType resource_type);
|
| @@ -248,10 +252,6 @@ class ResourcePrefetchPredictor
|
| const PrefetchDataMap& data_map,
|
| std::vector<GURL>* urls);
|
|
|
| - // Starts initialization by posting a task to the DB thread to read the
|
| - // predictor database.
|
| - void StartInitialization();
|
| -
|
| // Callback for task to read predictor database. Takes ownership of
|
| // all arguments.
|
| void CreateCaches(std::unique_ptr<PrefetchDataMap> url_data_map,
|
|
|