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

Unified Diff: chrome/browser/ui/search/search_tab_helper.h

Issue 2376633002: Small cleanup in SearchTabHelper (Closed)
Patch Set: rebase Created 4 years 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/search/instant_tab_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_tab_helper.h
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h
index d1a0bedebbacb8740728663edcd0695b7d7c6bdb..35c9ee7c142e65d27294bd75b8c89d9e9ba1853a 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -7,7 +7,6 @@
#include <vector>
-#include "base/compiler_specific.h"
sfiera 2016/12/08 13:12:37 wut
Marc Treib 2016/12/08 13:15:28 I have no idea why this was here. :)
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/strings/string16.h"
@@ -22,7 +21,6 @@
#include "content/public/browser/reload_type.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
-#include "ui/base/window_open_disposition.h"
namespace content {
class WebContents;
@@ -70,10 +68,6 @@ class SearchTabHelper : public content::WebContentsObserver,
// the notification system and shouldn't call this method.
void NavigationEntryUpdated();
- // Returns true if the page supports instant. If the instant support state is
- // not determined or if the page does not support instant returns false.
- bool SupportsInstant() const;
-
// Sends the current SearchProvider suggestion to the Instant page if any.
void SetSuggestionToPrefetch(const InstantSuggestion& suggestion);
@@ -91,10 +85,8 @@ class SearchTabHelper : public content::WebContentsObserver,
private:
friend class content::WebContentsUserData<SearchTabHelper>;
- friend class InstantTabTest;
friend class SearchIPCRouterPolicyTest;
friend class SearchIPCRouterTest;
- friend class SearchTabHelperPrerenderTest;
FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
DetermineIfPageSupportsInstant_Local);
« no previous file with comments | « chrome/browser/ui/search/instant_tab_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698