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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.h

Issue 10553029: Handle interface to prerenders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/autocomplete/autocomplete_edit.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index 06b6a0633e2eff884add11df6406423dd15c5691..00cfaecde866807e00ef1764ba98c79590a180eb 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -33,6 +33,10 @@ namespace gfx {
class Rect;
}
+namespace predictors {
+class AutocompleteActionPredictor;
+}
+
// TODO(pkasting): The names and contents of the classes in
// this file are temporary. I am in hack-and-slash mode right now.
// http://code.google.com/p/chromium/issues/detail?id=6772
@@ -436,7 +440,8 @@ class AutocompleteEditModel : 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/18 15:32:44 i'd prefer this wasn't passed down. I know it save
gavinp 2012/06/18 16:40:48 Done.
+ 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