summaryrefslogtreecommitdiffstats
path: root/components/search/search_switches.cc
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 08:48:40 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 08:48:40 +0000
commit720b10490523188c34b012d1ccf2059020cc13e1 (patch)
treeb772fe2125597d0bb8e57dfdbc3b9aa5d9b498c3 /components/search/search_switches.cc
parent86487aa3a77b454917b5a1cb0c42b05cb6b22136 (diff)
downloadchromium_src-720b10490523188c34b012d1ccf2059020cc13e1.zip
chromium_src-720b10490523188c34b012d1ccf2059020cc13e1.tar.gz
chromium_src-720b10490523188c34b012d1ccf2059020cc13e1.tar.bz2
Moves some functions in search.h to components.
These functions are simplistic and doesn't depend on chrome's feature, so there's no reason to be under chrome/browser. Moving to components/ would help further componentization task of autocomplete anad omnibox_field_trials. BUG=371538 R=brettw@chromium.org, pkasting@chromium.org, blundell@chromium.org TBR=tedchoc@chromium.org, jhawkins@chromium.org TEST=build Review URL: https://codereview.chromium.org/393173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/search/search_switches.cc')
-rw-r--r--components/search/search_switches.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/components/search/search_switches.cc b/components/search/search_switches.cc
new file mode 100644
index 0000000..9359725
--- /dev/null
+++ b/components/search/search_switches.cc
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/search/search_switches.h"
+
+namespace switches {
+
+#if defined(OS_ANDROID)
+
+// Enables EmbeddedSearch API in the search results page.
+const char kEnableEmbeddedSearchAPI[] = "enable-embeddedsearch-api";
+
+#endif
+
+} // namespace switches