Index: chrome/browser/autocomplete/search_provider.h |
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h |
index e8c07d5f7b1e5133048c686a6ffa6f2139f52b24..4179a27ffb7ecaa2e876844b77a88fef49a2c75e 100644 |
--- a/chrome/browser/autocomplete/search_provider.h |
+++ b/chrome/browser/autocomplete/search_provider.h |
@@ -410,6 +410,11 @@ class SearchProvider : public AutocompleteProvider, |
const TemplateURL* template_url, |
const AutocompleteInput& input); |
+ // Attempts to parse JSON response received from the provider stripping XSSI |
Mark P
2013/12/02 22:32:19
nit: Attempts to parse -> Parses
(the attempting i
H Fung
2013/12/02 23:04:52
comma after "provider"?
Maria
2013/12/02 23:24:29
Done.
Maria
2013/12/02 23:24:29
Done.
|
+ // protection if needed. Returns the parsed data, if successful, NULL |
Mark P
2013/12/02 22:32:19
nit: no comma before "if successful"
Maria
2013/12/02 23:24:29
Done.
|
+ // otherwise. |
+ static scoped_ptr<base::Value> DeserializeJsonData(std::string json_data); |
+ |
// Parses results from the suggest server and updates the appropriate suggest |
// and navigation result lists, depending on whether |is_keyword| is true. |
// Returns whether the appropriate result list members were updated. |