#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
-#include "chrome/browser/history/history_types.h"
#include "chrome/browser/predictors/autocomplete_action_predictor_table.h"
+#include "components/history/core/browser/history_types.h"
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/notification_observer.h"
const content::SessionStorageNamespaceMap& session_storage_namespace_map,
const gfx::Size& size);
+ // Cancels the current prerender, unless it has already been abandoned.
+ void CancelPrerender();
+
// Return true if the suggestion type warrants a TCP/IP preconnection.
// i.e., it is now quite likely that the user will select the related domain.
static bool IsPreconnectable(const AutocompleteMatch& match);
+ // Returns true if there is an active Omnibox prerender and it has been
+ // abandoned.
+ bool IsPrerenderAbandonedForTesting();
+
private:
friend class AutocompleteActionPredictorTest;
friend class ::PredictorsHandler;