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

Unified Diff: chrome/browser/search/instant_unittest_base.h

Issue 141893009: Create a new helper function to extract search terms from the URL irrespective of the availablility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 6 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/search/instant_unittest_base.cc » ('j') | chrome/browser/search/search.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_unittest_base.h
diff --git a/chrome/browser/search/instant_unittest_base.h b/chrome/browser/search/instant_unittest_base.h
index a97e595cebfa5353853d7ba8662001d5af35d27d..31da756a82abf26f984acad711b75d60fc1202dc 100644
--- a/chrome/browser/search/instant_unittest_base.h
+++ b/chrome/browser/search/instant_unittest_base.h
@@ -25,8 +25,12 @@ class InstantUnitTestBase : public BrowserWithTestWindowTest {
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
- virtual void SetUpWithoutCacheableNTP();
- virtual void SetUpHelper();
+ void SetUpWithoutCacheableNTP();
+
+#if !defined(OS_IOS) && !defined(OS_ANDROID)
+ // Query extraction is always enabled on Android and iOS.
+ void SetUpWithoutQueryExtraction();
+#endif
// Adds and sets the default search provider using the base_url.
// The base_url should have the http[s]:// prefix and a trailing / after the
@@ -45,6 +49,9 @@ class InstantUnitTestBase : public BrowserWithTestWindowTest {
InstantService* instant_service_;
TemplateURLService* template_url_service_;
scoped_ptr<base::FieldTrialList> field_trial_list_;
+
+ private:
+ void SetUpHelper();
};
#endif // CHROME_BROWSER_SEARCH_INSTANT_UNITTEST_BASE_H_
« no previous file with comments | « no previous file | chrome/browser/search/instant_unittest_base.cc » ('j') | chrome/browser/search/search.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698