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

Unified Diff: chrome/browser/search_engines/template_url.h

Issue 54203008: Store xsrf token received with psuggest results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test case Created 7 years, 2 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
Index: chrome/browser/search_engines/template_url.h
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
index ff9539721d3bbdda711f10fb10ce974a8535d820..1f97bfcebc2df8eb7b6f99d87d0beb0e342de756 100644
--- a/chrome/browser/search_engines/template_url.h
+++ b/chrome/browser/search_engines/template_url.h
@@ -108,6 +108,9 @@ class TemplateURLRef {
// Additional query params provided by the suggest server.
std::string suggest_query_params;
+ // Xsrf token parameter needed to send a delete request to suggest server.
+ std::string xsrf_token;
Peter Kasting 2013/10/31 23:54:46 This is the wrong place to store this. Since Repl
+
// If set, ReplaceSearchTerms() will automatically append any extra query
// params specified via the --extra-search-query-params command-line
// argument. Generally, this should be set when dealing with the search or

Powered by Google App Engine
This is Rietveld 408576698