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

Unified Diff: content/public/browser/navigation_entry.h

Issue 10170016: Add info about user agent overrides to WebContents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added SessionService saving 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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 9259ff585a04be14566c3f3ff3f19e1f7ffab116..0fda15a1f28bf610224273c08a739c773bd15c87 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -142,6 +142,10 @@ class NavigationEntry {
// Store the URL that caused this NavigationEntry to be created.
virtual void SetOriginalRequestURL(const GURL& original_url) = 0;
virtual const GURL& GetOriginalRequestURL() const = 0;
+
+ // Store whether or not we're overriding the user agent.
+ virtual void SetOverrideUserAgent(bool override) = 0;
+ virtual bool GetOverrideUserAgent() const = 0;
tony 2012/05/10 18:40:59 Nit: I think [SG]etIsOverridingUserAgent would be
gone 2012/05/11 15:40:30 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698