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

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

Issue 10450002: Transfer user agent override info between browser and renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Default to not overriding in prerender config Created 8 years, 6 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_controller_impl.h
diff --git a/content/browser/web_contents/navigation_controller_impl.h b/content/browser/web_contents/navigation_controller_impl.h
index dfe4dd6d46ac878362b50b07bbce14a27b0ceba4..505347519c4ea8ed09adf7ae4a9ce49c4dd2e527 100644
--- a/content/browser/web_contents/navigation_controller_impl.h
+++ b/content/browser/web_contents/navigation_controller_impl.h
@@ -63,6 +63,13 @@ class CONTENT_EXPORT NavigationControllerImpl
const content::Referrer& referrer,
content::PageTransition type,
const std::string& extra_headers) OVERRIDE;
+ virtual void LoadURLWithUserAgentOverride(
+ const GURL& url,
+ const content::Referrer& referrer,
+ content::PageTransition type,
+ bool is_renderer_initiated,
+ const std::string& extra_headers,
+ bool is_overriding_user_agent) OVERRIDE;
virtual void TransferURL(
const GURL& url,
const content::Referrer& referrer,
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | content/browser/web_contents/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698