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

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: Forgot to initialize bool in constructor; win_rel caught it Created 8 years, 7 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..88d89929b0c9d5db58ae93333f789649e215c6f8 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 SetIsOverridingUserAgent(bool override) OVERRIDE;
+ virtual bool GetIsOverridingUserAgent() 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 is_overriding_user_agent_;
// This member is not persisted with sesssion restore.
std::string extra_headers_;
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | content/browser/web_contents/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698