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

Side by Side Diff: components/search_engines/search_terms_data.h

Issue 2520993004: Cleanup: Remove for_search param from search::InstantExtendedEnabledParam() (Closed)
Patch Set: comment Created 4 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
« no previous file with comments | « components/search/search_unittest.cc ('k') | components/search_engines/search_terms_data.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 #ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
6 #define COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 6 #define COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // requests. See GetSuggestRequestIdentifier() for more details. 42 // requests. See GetSuggestRequestIdentifier() for more details.
43 // This implementation returns the empty string. 43 // This implementation returns the empty string.
44 virtual std::string GetSuggestClient() const; 44 virtual std::string GetSuggestClient() const;
45 45
46 // The suggest request identifier parameter ("gs_ri") passed with Google 46 // The suggest request identifier parameter ("gs_ri") passed with Google
47 // suggest requests. Along with suggestclient (See GetSuggestClient()), 47 // suggest requests. Along with suggestclient (See GetSuggestClient()),
48 // this parameter controls what suggestion results are returned. 48 // this parameter controls what suggestion results are returned.
49 // This implementation returns the empty string. 49 // This implementation returns the empty string.
50 virtual std::string GetSuggestRequestIdentifier() const; 50 virtual std::string GetSuggestRequestIdentifier() const;
51 51
52 // Returns a string indicating whether InstantExtended is enabled. 52 // Returns a string indicating whether InstantExtended is enabled, suitable
53 virtual std::string InstantExtendedEnabledParam(bool for_search) const; 53 // for adding as a query string param to the homepage or search requests.
54 virtual std::string InstantExtendedEnabledParam() const;
54 55
55 // Returns a string that will cause the search results page to update 56 // Returns a string that will cause the search results page to update
56 // incrementally. 57 // incrementally.
57 virtual std::string ForceInstantResultsParam(bool for_prerender) const; 58 virtual std::string ForceInstantResultsParam(bool for_prerender) const;
58 59
59 // Returns the value to use for replacements of type 60 // Returns the value to use for replacements of type
60 // GOOGLE_IMAGE_SEARCH_SOURCE. 61 // GOOGLE_IMAGE_SEARCH_SOURCE.
61 virtual std::string GoogleImageSearchSource() const; 62 virtual std::string GoogleImageSearchSource() const;
62 63
63 private: 64 private:
64 DISALLOW_COPY_AND_ASSIGN(SearchTermsData); 65 DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
65 }; 66 };
66 67
67 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 68 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
OLDNEW
« no previous file with comments | « components/search/search_unittest.cc ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698