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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.h

Issue 10553029: Handle interface to prerenders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remediated, and cleaned up in prep for uploading for review Created 8 years, 6 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
Index: chrome/browser/ui/omnibox/omnibox_edit_model.h
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h
index 9ffcbeb7d7eb84d369fab08c6c36bf92cff2961f..e08b5ca1861b95bbc420e784728106bd13e17679 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
@@ -32,6 +32,10 @@ namespace gfx {
class Rect;
}
+namespace predictors {
+class AutocompleteActionPredictor;
+}
+
class OmniboxEditModel : public AutocompleteControllerDelegate {
public:
struct State {
@@ -384,7 +388,8 @@ class OmniboxEditModel : public AutocompleteControllerDelegate {
bool DoInstant(const AutocompleteMatch& match, string16* suggested_text);
// Starts a prerender for the given |match|.
- void DoPrerender(const AutocompleteMatch& match);
+ void DoPrerender(predictors::AutocompleteActionPredictor* action_predictor,
dominich 2012/06/28 00:34:32 this should be unnecessary - the predictor is prof
+ const AutocompleteMatch& match);
// Starts a DNS prefetch for the given |match|.
void DoPreconnect(const AutocompleteMatch& match);

Powered by Google App Engine
This is Rietveld 408576698