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

Unified Diff: chrome/common/net/url_fetcher.h

Issue 6308009: If user had consented for metrics reporting, send speech input request origin to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing files Created 9 years, 11 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/common/net/url_fetcher.h
diff --git a/chrome/common/net/url_fetcher.h b/chrome/common/net/url_fetcher.h
index dfa29a913a2291d86eb7d33335dc208908830909..bd2a04dd455a180e2f200e4016e11586d70bf6db 100644
--- a/chrome/common/net/url_fetcher.h
+++ b/chrome/common/net/url_fetcher.h
@@ -139,6 +139,9 @@ class URLFetcher {
// Returns the current load flags.
int load_flags() const;
+ // The referrer URL for the request, to be set before Start() is called.
wtc 2011/01/19 22:22:02 Nit: I suggest you copy the same sentence Must
Satish 2011/01/20 11:04:12 Done.
+ void set_referrer(const std::string& referrer);
+
// Set extra headers on the request. Must be called before the request
// is started.
void set_extra_request_headers(const std::string& extra_request_headers);

Powered by Google App Engine
This is Rietveld 408576698