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

Side by Side Diff: chrome/browser/search_engines/ui_thread_search_terms_data.h

Issue 396583002: Stop depending on InstantService from BaseSearchProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 OVERRIDE; 27 OVERRIDE;
28 virtual std::string GetSearchClient() const OVERRIDE; 28 virtual std::string GetSearchClient() const OVERRIDE;
29 virtual std::string GetSuggestClient() const OVERRIDE; 29 virtual std::string GetSuggestClient() const OVERRIDE;
30 virtual std::string GetSuggestRequestIdentifier() const OVERRIDE; 30 virtual std::string GetSuggestRequestIdentifier() const OVERRIDE;
31 virtual bool EnableAnswersInSuggest() const OVERRIDE; 31 virtual bool EnableAnswersInSuggest() const OVERRIDE;
32 virtual bool IsShowingSearchTermsOnSearchResultsPages() const OVERRIDE; 32 virtual bool IsShowingSearchTermsOnSearchResultsPages() const OVERRIDE;
33 virtual std::string InstantExtendedEnabledParam( 33 virtual std::string InstantExtendedEnabledParam(
34 bool for_search) const OVERRIDE; 34 bool for_search) const OVERRIDE;
35 virtual std::string ForceInstantResultsParam( 35 virtual std::string ForceInstantResultsParam(
36 bool for_prerender) const OVERRIDE; 36 bool for_prerender) const OVERRIDE;
37 virtual int OmniboxStartMargin() const OVERRIDE;
37 virtual std::string NTPIsThemedParam() const OVERRIDE; 38 virtual std::string NTPIsThemedParam() const OVERRIDE;
38 virtual std::string GoogleImageSearchSource() const OVERRIDE; 39 virtual std::string GoogleImageSearchSource() const OVERRIDE;
39 40
40 // Used by tests to override the value for the Google base URL. Passing the 41 // Used by tests to override the value for the Google base URL. Passing the
41 // empty string cancels this override. 42 // empty string cancels this override.
42 static void SetGoogleBaseURL(const std::string& base_url); 43 static void SetGoogleBaseURL(const std::string& base_url);
43 44
44 private: 45 private:
45 static std::string* google_base_url_; 46 static std::string* google_base_url_;
46 Profile* profile_; 47 Profile* profile_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData); 49 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData);
49 }; 50 };
50 51
51 #endif // CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_ 52 #endif // CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/browser/search_engines/ui_thread_search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698