Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1426)

Unified Diff: chrome/browser/ui/webui/predictors/predictors_handler.h

Issue 117933003: Remove the speculative resource prefetching code. This was experimental code added 1.5 years ago an… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_tab_contents.cc ('k') | chrome/browser/ui/webui/predictors/predictors_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/predictors/predictors_handler.h
===================================================================
--- chrome/browser/ui/webui/predictors/predictors_handler.h (revision 243063)
+++ chrome/browser/ui/webui/predictors/predictors_handler.h (working copy)
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_WEBUI_PREDICTORS_PREDICTORS_HANDLER_H_
#include "base/compiler_specific.h"
-#include "chrome/browser/predictors/resource_prefetch_predictor.h"
#include "content/public/browser/web_ui_message_handler.h"
namespace base {
@@ -15,7 +14,6 @@
namespace predictors {
class AutocompleteActionPredictor;
-class ResourcePrefetchPredictor;
}
class Profile;
@@ -34,17 +32,7 @@
// 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);
-
- // Helper for RequestResourcePrefetchPredictorDb.
- void AddPrefetchDataMapToListValue(
- const predictors::ResourcePrefetchPredictor::PrefetchDataMap& data_map,
- base::ListValue* db) const;
-
predictors::AutocompleteActionPredictor* autocomplete_action_predictor_;
- predictors::ResourcePrefetchPredictor* resource_prefetch_predictor_;
DISALLOW_COPY_AND_ASSIGN(PredictorsHandler);
};
« no previous file with comments | « chrome/browser/ui/browser_tab_contents.cc ('k') | chrome/browser/ui/webui/predictors/predictors_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698