summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r--content/browser/tab_contents/tab_contents_delegate.h4
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 9638775..b1f0d52 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);
- // Returns the set of headers to add to the navigation request. Use
+ // Adds the navigation request headers to |headers|. Use
// net::HttpUtil::AppendHeaderIfMissing to build the set of headers.
- virtual std::string GetNavigationHeaders(const GURL& url);
+ virtual void AddNavigationHeaders(const GURL& url, std::string* headers);
// Creates a new tab with the already-created TabContents 'new_contents'.
// The window for the added contents should be reparented correctly when this