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

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: Rebase 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') | no next file with comments »
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 6002def05fdcb2725e1ebb1ddf97983f68672381..f48ed15cbc7351e60f11d45b7460ab77f6975642 100644
--- a/chrome/browser/search/instant_unittest_base.h
+++ b/chrome/browser/search/instant_unittest_base.h
@@ -25,7 +25,10 @@ class InstantUnitTestBase : public BrowserWithTestWindowTest {
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
- virtual void SetUpHelper();
+#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
@@ -44,6 +47,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698