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

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

Issue 2086223002: Convert instant search messages to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 3 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
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 35c9ee7c142e65d27294bd75b8c89d9e9ba1853a..96c5add0f2f817f0f7d862d468781b1cb9beb237 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -83,6 +83,8 @@ class SearchTabHelper : public content::WebContentsObserver,
void set_delegate(SearchTabHelperDelegate* delegate) { delegate_ = delegate; }
+ SearchIPCRouter& ipc_router_for_testing() { return ipc_router_; }
+
private:
friend class content::WebContentsUserData<SearchTabHelper>;
friend class SearchIPCRouterPolicyTest;
@@ -167,9 +169,6 @@ class SearchTabHelper : public content::WebContentsObserver,
// received.
void DetermineIfPageSupportsInstant();
- // Used by unit tests.
- SearchIPCRouter& ipc_router() { return ipc_router_; }
-
Profile* profile() const;
// Returns whether input is in progress, i.e. if the omnibox has focus and the
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698