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

Side by Side Diff: components/search/search.h

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 11 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
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 #ifndef COMPONENTS_SEARCH_SEARCH_H_ 5 #ifndef COMPONENTS_SEARCH_SEARCH_H_
6 #define COMPONENTS_SEARCH_SEARCH_H_ 6 #define COMPONENTS_SEARCH_SEARCH_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 16
17 class GURL; 17 class GURL;
18 class TemplateURL; 18 class TemplateURL;
19 19
20 namespace search { 20 namespace search {
21 21
22 // Use this value for "start margin" to prevent the "es_sm" parameter from
23 // being used.
24 extern const int kDisableStartMargin;
25
26 // Returns whether the Instant Extended API is enabled. 22 // Returns whether the Instant Extended API is enabled.
27 bool IsInstantExtendedAPIEnabled(); 23 bool IsInstantExtendedAPIEnabled();
28 24
29 // Returns the value to pass to the &espv CGI parameter when loading the 25 // Returns the value to pass to the &espv CGI parameter when loading the
30 // embedded search page from the user's default search provider. Returns 0 if 26 // embedded search page from the user's default search provider. Returns 0 if
31 // the Instant Extended API is not enabled. 27 // the Instant Extended API is not enabled.
32 uint64_t EmbeddedSearchPageVersion(); 28 uint64_t EmbeddedSearchPageVersion();
33 29
34 // Type for a collection of experiment configuration parameters. 30 // Type for a collection of experiment configuration parameters.
35 typedef base::StringPairs FieldTrialFlags; 31 typedef base::StringPairs FieldTrialFlags;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // ----------------------------------------------------- 101 // -----------------------------------------------------
106 // The following APIs are exposed for use in tests only. 102 // The following APIs are exposed for use in tests only.
107 // ----------------------------------------------------- 103 // -----------------------------------------------------
108 104
109 // Forces query in the omnibox to be on for tests. 105 // Forces query in the omnibox to be on for tests.
110 void EnableQueryExtractionForTesting(); 106 void EnableQueryExtractionForTesting();
111 107
112 } // namespace search 108 } // namespace search
113 109
114 #endif // COMPONENTS_SEARCH_SEARCH_H_ 110 #endif // COMPONENTS_SEARCH_SEARCH_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/mock_autocomplete_provider_client.h ('k') | components/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698