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

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: Created 5 years 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 <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 15
16 class GURL; 16 class GURL;
17 class TemplateURL; 17 class TemplateURL;
18 18
19 namespace search { 19 namespace search {
20 20
21 // Use this value for "start margin" to prevent the "es_sm" parameter from
22 // being used.
23 extern const int kDisableStartMargin;
24
25 // Returns whether the Instant Extended API is enabled. 21 // Returns whether the Instant Extended API is enabled.
26 bool IsInstantExtendedAPIEnabled(); 22 bool IsInstantExtendedAPIEnabled();
27 23
28 // Returns the value to pass to the &espv CGI parameter when loading the 24 // Returns the value to pass to the &espv CGI parameter when loading the
29 // embedded search page from the user's default search provider. Returns 0 if 25 // embedded search page from the user's default search provider. Returns 0 if
30 // the Instant Extended API is not enabled. 26 // the Instant Extended API is not enabled.
31 uint64 EmbeddedSearchPageVersion(); 27 uint64 EmbeddedSearchPageVersion();
32 28
33 // Type for a collection of experiment configuration parameters. 29 // Type for a collection of experiment configuration parameters.
34 typedef base::StringPairs FieldTrialFlags; 30 typedef base::StringPairs FieldTrialFlags;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // ----------------------------------------------------- 100 // -----------------------------------------------------
105 // The following APIs are exposed for use in tests only. 101 // The following APIs are exposed for use in tests only.
106 // ----------------------------------------------------- 102 // -----------------------------------------------------
107 103
108 // Forces query in the omnibox to be on for tests. 104 // Forces query in the omnibox to be on for tests.
109 void EnableQueryExtractionForTesting(); 105 void EnableQueryExtractionForTesting();
110 106
111 } // namespace search 107 } // namespace search
112 108
113 #endif // COMPONENTS_SEARCH_SEARCH_H_ 109 #endif // COMPONENTS_SEARCH_SEARCH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698