| 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..cfff8a331e3d76828b0a2efb06a91fa7439c9fdf 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);
|
|
|
| + // 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);
|
| +
|
| // 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.
|
|
|