Chromium Code Reviews| Index: content/browser/tab_contents/navigation_entry.h |
| =================================================================== |
| --- content/browser/tab_contents/navigation_entry.h (revision 98959) |
| +++ content/browser/tab_contents/navigation_entry.h (working copy) |
| @@ -318,6 +318,14 @@ |
| return ssl_; |
| } |
| + // Extra headers (separated by \n) to send during the request. |
| + void set_extra_headers(const std::string& extra_headers) { |
| + extra_headers_ = extra_headers; |
| + } |
| + const std::string& extra_headers() const { |
| + return extra_headers_; |
| + } |
| + |
| // Page-related helpers ------------------------------------------------------ |
| // Returns the title to be displayed on the tab. This could be the title of |
| @@ -416,9 +424,10 @@ |
| GURL user_typed_url_; |
| bool has_post_data_; |
| RestoreType restore_type_; |
| + std::string extra_headers_; |
|
sky
2011/09/01 03:46:44
Put a newline between 426 and 427 and document thi
Roger Tawa OOO till Jul 10th
2011/09/01 13:52:58
Done.
|
| // This is a cached version of the result of GetTitleForDisplay. It prevents |
| - // us from having to do URL formatting on the URL evey time the title is |
| + // us from having to do URL formatting on the URL every time the title is |
| // displayed. When the URL, virtual URL, or title is set, this should be |
| // cleared to force a refresh. |
| mutable string16 cached_display_title_; |