| Index: chrome/browser/tab_contents/navigation_entry.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/navigation_entry.h (revision 71766)
|
| +++ chrome/browser/tab_contents/navigation_entry.h (working copy)
|
| @@ -370,6 +370,15 @@
|
| return has_post_data_;
|
| }
|
|
|
| + // Remote address of the socket which fetched this resource, for presenting
|
| + // to inquisitive users. Can be "ipv4:port", "[ipv6]:port", or empty.
|
| + void set_socket_address(const std::string& addr) {
|
| + socket_address_ = addr;
|
| + }
|
| + const std::string& socket_address() const {
|
| + return socket_address_;
|
| + }
|
| +
|
| // Enumerations of the possible restore types.
|
| enum RestoreType {
|
| // The entry has been restored is from the last session.
|
| @@ -415,6 +424,7 @@
|
| PageTransition::Type transition_type_;
|
| GURL user_typed_url_;
|
| bool has_post_data_;
|
| + std::string socket_address_;
|
| RestoreType restore_type_;
|
|
|
| // This is a cached version of the result of GetTitleForDisplay. It prevents
|
|
|