OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ | 5 #ifndef IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ |
6 #define IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ | 6 #define IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
10 #include "components/search_engines/search_terms_data.h" | 10 #include "components/search_engines/search_terms_data.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 std::string GetApplicationLocale() const override; | 24 std::string GetApplicationLocale() const override; |
25 base::string16 GetRlzParameterValue(bool from_app_list) const override; | 25 base::string16 GetRlzParameterValue(bool from_app_list) const override; |
26 std::string GetSearchClient() const override; | 26 std::string GetSearchClient() const override; |
27 std::string GetSuggestClient() const override; | 27 std::string GetSuggestClient() const override; |
28 std::string GetSuggestRequestIdentifier() const override; | 28 std::string GetSuggestRequestIdentifier() const override; |
29 bool IsShowingSearchTermsOnSearchResultsPages() const override; | 29 bool IsShowingSearchTermsOnSearchResultsPages() const override; |
30 std::string InstantExtendedEnabledParam(bool for_search) const override; | 30 std::string InstantExtendedEnabledParam(bool for_search) const override; |
31 std::string ForceInstantResultsParam(bool for_prerender) const override; | 31 std::string ForceInstantResultsParam(bool for_prerender) const override; |
32 int OmniboxStartMargin() const override; | 32 int OmniboxStartMargin() const override; |
33 std::string NTPIsThemedParam() const override; | 33 std::string NTPIsThemedParam() const override; |
| 34 std::string IOSWebViewTypeParam() const override; |
34 std::string GoogleImageSearchSource() const override; | 35 std::string GoogleImageSearchSource() const override; |
35 | 36 |
36 private: | 37 private: |
37 base::ThreadChecker thread_checker_; | 38 base::ThreadChecker thread_checker_; |
38 ios::ChromeBrowserState* browser_state_; | 39 ios::ChromeBrowserState* browser_state_; |
39 | 40 |
40 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData); | 41 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace ios | 44 } // namespace ios |
44 | 45 |
45 #endif // IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ | 46 #endif // IOS_CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ |
OLD | NEW |