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

Unified Diff: chrome/browser/autocomplete/base_search_provider.h

Issue 423093013: Move DeserializeJsonData() and UTF-8 conversion code to SearchSuggestionParser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clear image URLs 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autocomplete/base_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/base_search_provider.h
diff --git a/chrome/browser/autocomplete/base_search_provider.h b/chrome/browser/autocomplete/base_search_provider.h
index cc6517d188e245ec893008ee052432f232b3768a..d5557f5ddb3b42db32a56eb25d3678df48883f16 100644
--- a/chrome/browser/autocomplete/base_search_provider.h
+++ b/chrome/browser/autocomplete/base_search_provider.h
@@ -127,11 +127,6 @@ class BaseSearchProvider : public AutocompleteProvider,
int accepted_suggestion,
bool append_extra_query_params);
- // Parses JSON response received from the provider, stripping XSSI
- // protection if needed. Returns the parsed data if successful, NULL
- // otherwise.
- static scoped_ptr<base::Value> DeserializeJsonData(std::string json_data);
-
// Returns whether the requirements for requesting zero suggest results
// are met. The requirements are
// * The user is enrolled in a zero suggest experiment.
@@ -204,7 +199,6 @@ class BaseSearchProvider : public AutocompleteProvider,
// Called at the end of ParseSuggestResults to rank the |results|.
virtual void SortResults(bool is_keyword,
- bool relevances_from_server,
SearchSuggestionParser::Results* results);
// Optionally, cache the received |json_data| and return true if we want
« no previous file with comments | « no previous file | chrome/browser/autocomplete/base_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698