diff options
Diffstat (limited to 'content/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r-- | content/browser/tab_contents/tab_contents_delegate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h index b1f0d52..9638775 100644 --- a/content/browser/tab_contents/tab_contents_delegate.h +++ b/content/browser/tab_contents/tab_contents_delegate.h @@ -75,9 +75,9 @@ class TabContentsDelegate { virtual void NavigationStateChanged(const TabContents* source, unsigned changed_flags); - // Adds the navigation request headers to |headers|. Use + // Returns the set of headers to add to the navigation request. Use // net::HttpUtil::AppendHeaderIfMissing to build the set of headers. - virtual void AddNavigationHeaders(const GURL& url, std::string* headers); + virtual std::string GetNavigationHeaders(const GURL& url); // Creates a new tab with the already-created TabContents 'new_contents'. // The window for the added contents should be reparented correctly when this |