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

Unified Diff: content/browser/tab_contents/navigation_controller.h

Issue 7791029: When the user navigates to the home page, make sure to set the RLZ string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: When the user navigates to the home page, make sure to set the RLZ string Created 9 years, 4 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/navigation_controller.h
===================================================================
--- content/browser/tab_contents/navigation_controller.h (revision 99286)
+++ content/browser/tab_contents/navigation_controller.h (working copy)
@@ -176,6 +176,13 @@
void LoadURL(const GURL& url, const GURL& referrer,
PageTransition::Type type);
+ // Loads the specified URL, specifying extra http headers to add to the
+ // request. Extra headers are separated by \n.
+ void LoadURLWithHeaders(const GURL& url,
+ const GURL& referrer,
+ PageTransition::Type type,
+ const std::string& extra_headers);
+
// Loads the current page if this NavigationController was restored from
// history and the current page has not loaded yet.
void LoadIfNecessary();
@@ -327,11 +334,13 @@
bool IsInitialNavigation();
// Creates navigation entry and translates the virtual url to a real one.
- // Used when navigating to a new URL using LoadURL.
+ // Used when navigating to a new URL using LoadURL. Extra headers are
+ // separated by \n.
static NavigationEntry* CreateNavigationEntry(
const GURL& url,
const GURL& referrer,
PageTransition::Type transition,
+ const std::string& extra_headers,
content::BrowserContext* browser_context);
private:
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698