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

Side by Side Diff: components/search/search_switches.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 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 | « components/search/search_switches.h ('k') | components/search/search_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/search/search_switches.h" 5 #include "components/search/search_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if defined(OS_ANDROID) 9 #if defined(OS_ANDROID)
10 10
11 // Enables EmbeddedSearch API in the search results page. 11 // Enables EmbeddedSearch API in the search results page.
12 const char kEnableEmbeddedSearchAPI[] = "enable-embeddedsearch-api"; 12 const char kEnableEmbeddedSearchAPI[] = "enable-embeddedsearch-api";
13 13
14 // Triggers prerendering of search base page to prefetch results for the typed
15 // omnibox query. Only has an effect when prerender is enabled.
16 const char kPrefetchSearchResults[] = "prefetch-search-results";
17
18 #endif
19
20 #if !defined(OS_ANDROID) && !defined(OS_IOS)
21
22 // Enables query in the omnibox.
23 const char kEnableQueryExtraction[] = "enable-query-extraction";
24
14 #endif 25 #endif
15 26
16 } // namespace switches 27 } // namespace switches
OLDNEW
« no previous file with comments | « components/search/search_switches.h ('k') | components/search/search_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698