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

Side by Side Diff: chrome/browser/search/search.h

Issue 2204363003: Remove search::ShouldUseAltInstantURL and ShouldUseSearchPathForInstant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/search/search.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SEARCH_SEARCH_H_ 5 #ifndef CHROME_BROWSER_SEARCH_SEARCH_H_
6 #define CHROME_BROWSER_SEARCH_SEARCH_H_ 6 #define CHROME_BROWSER_SEARCH_SEARCH_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 InstantSupportState GetInstantSupportStateFromNavigationEntry( 159 InstantSupportState GetInstantSupportStateFromNavigationEntry(
160 const content::NavigationEntry& entry); 160 const content::NavigationEntry& entry);
161 161
162 // ----------------------------------------------------- 162 // -----------------------------------------------------
163 // The following APIs are exposed for use in tests only. 163 // The following APIs are exposed for use in tests only.
164 // ----------------------------------------------------- 164 // -----------------------------------------------------
165 165
166 // Returns the Cacheable New Tab Page URL for the given |profile|. 166 // Returns the Cacheable New Tab Page URL for the given |profile|.
167 GURL GetNewTabPageURL(Profile* profile); 167 GURL GetNewTabPageURL(Profile* profile);
168 168
169 // Returns true if 'use_alternate_instant_url' flag is set to true in field
170 // trials to use an alternate Instant search base page URL for prefetching
171 // search results. This allows experimentation of Instant search.
172 bool ShouldUseAltInstantURL();
173
174 // Returns true if 'use_search_path_for_instant' flag is set to true in field
175 // trials to use an '/search' path in an alternate Instant search base page URL
176 // for prefetching search results. This allows experimentation of Instant
177 // search.
178 bool ShouldUseSearchPathForInstant();
179
180 } // namespace search 169 } // namespace search
181 170
182 #endif // CHROME_BROWSER_SEARCH_SEARCH_H_ 171 #endif // CHROME_BROWSER_SEARCH_SEARCH_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698