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

Unified Diff: content/browser/web_contents/navigation_entry_impl.h

Issue 10170016: Add info about user agent overrides to WebContents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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: content/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index 391ff0011124100940ba4598e915abf0deb8fef1..9cc8264ea88a1ed85f6a7f1f4cf648f356402e3f 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -62,6 +62,8 @@ class CONTENT_EXPORT NavigationEntryImpl
virtual SSLStatus& GetSSL() OVERRIDE;
virtual void SetOriginalRequestURL(const GURL& original_url) OVERRIDE;
virtual const GURL& GetOriginalRequestURL() const OVERRIDE;
+ virtual void SetOverrideUserAgent(bool override) OVERRIDE;
+ virtual bool GetOverrideUserAgent() const OVERRIDE;
void set_unique_id(int unique_id) {
unique_id_ = unique_id;
@@ -180,6 +182,7 @@ class CONTENT_EXPORT NavigationEntryImpl
int64 post_id_;
RestoreType restore_type_;
GURL original_request_url_;
+ bool override_user_agent_;
// This member is not persisted with sesssion restore.
std::string extra_headers_;

Powered by Google App Engine
This is Rietveld 408576698