| Index: chrome/browser/ui/webui/predictors/predictors_handler.h
|
| diff --git a/chrome/browser/ui/webui/predictors/predictors_handler.h b/chrome/browser/ui/webui/predictors/predictors_handler.h
|
| index 20d3314b7d362e5c046db6dbff068bc3a8572a57..06a220638b40dae741ea8dd1649654e8e6206b6a 100644
|
| --- a/chrome/browser/ui/webui/predictors/predictors_handler.h
|
| +++ b/chrome/browser/ui/webui/predictors/predictors_handler.h
|
| @@ -7,6 +7,7 @@
|
| #pragma once
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "content/public/browser/web_ui_message_handler.h"
|
|
|
| namespace base {
|
| @@ -15,6 +16,7 @@ class ListValue;
|
|
|
| namespace predictors {
|
| class AutocompleteActionPredictor;
|
| +class ResourcePrefetchPredictor;
|
| }
|
|
|
| class Profile;
|
| @@ -33,7 +35,13 @@ class PredictorsHandler : public content::WebUIMessageHandler {
|
| // calls into JS with the resulting DictionaryValue.
|
| void RequestAutocompleteActionPredictorDb(const base::ListValue* args);
|
|
|
| + // Fetches stats for the ResourcePrefetchPredictor and returns it as a
|
| + // DictionaryValue to the JS.
|
| + void RequestResourcePrefetchPredictorDb(const base::ListValue* args);
|
| +
|
| predictors::AutocompleteActionPredictor* autocomplete_action_predictor_;
|
| + scoped_refptr<predictors::ResourcePrefetchPredictor>
|
| + resource_prefetch_predictor_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PredictorsHandler);
|
| };
|
|
|