Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 virtual std::string InstantExtendedEnabledParam() const; | 54 virtual std::string InstantExtendedEnabledParam() const; |
| 55 | 55 |
| 56 // 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 |
| 57 // incrementally. | 57 // incrementally. |
| 58 virtual std::string ForceInstantResultsParam(bool for_prerender) const; | 58 virtual std::string ForceInstantResultsParam(bool for_prerender) const; |
| 59 | 59 |
| 60 // Returns the value to use for replacements of type | 60 // Returns the value to use for replacements of type |
| 61 // GOOGLE_IMAGE_SEARCH_SOURCE. | 61 // GOOGLE_IMAGE_SEARCH_SOURCE. |
| 62 virtual std::string GoogleImageSearchSource() const; | 62 virtual std::string GoogleImageSearchSource() const; |
| 63 | 63 |
| 64 // Returns the optional referral ID to be passed to Yandex when searching from | |
| 65 // the omnibox (return the empty string if not supported/applicable). | |
|
Peter Kasting
2017/05/09 00:14:25
Nit: returns
Ted C
2017/05/10 15:20:29
Done.
| |
| 66 virtual std::string YandexReferralID() const; | |
|
Peter Kasting
2017/05/09 00:14:25
Nit: GetYandexReferralId()
Ted C
2017/05/10 15:20:29
Done.
| |
| 67 | |
| 64 private: | 68 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(SearchTermsData); | 69 DISALLOW_COPY_AND_ASSIGN(SearchTermsData); |
| 66 }; | 70 }; |
| 67 | 71 |
| 68 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ | 72 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ |
| OLD | NEW |