Chromium Code Reviews| Index: content/browser/tab_contents/navigation_controller.h |
| =================================================================== |
| --- content/browser/tab_contents/navigation_controller.h (revision 98807) |
| +++ content/browser/tab_contents/navigation_controller.h (working copy) |
| @@ -167,6 +167,11 @@ |
| void LoadURL(const GURL& url, const GURL& referrer, |
|
sky
2011/08/30 17:05:25
Nuke this one in favor of new. I'm fine with doing
Roger Tawa OOO till Jul 10th
2011/08/30 18:58:32
I'll do it as part of this CL. It will create a l
|
| 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, |
|
sky
2011/08/30 17:05:25
each param on its own line.
Roger Tawa OOO till Jul 10th
2011/08/30 18:58:32
Done.
|
| + 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(); |
| @@ -318,11 +323,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: |