| Index: content/public/browser/navigation_entry.h
|
| diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
|
| index e7724ebd7a7c20491c87cdaa76af27428995380a..faeecc7c640142310316c4b21532c38c89691e1e 100644
|
| --- a/content/public/browser/navigation_entry.h
|
| +++ b/content/public/browser/navigation_entry.h
|
| @@ -198,6 +198,16 @@ class NavigationEntry {
|
| virtual bool GetExtraData(const std::string& key, string16* data) const = 0;
|
| // Removes the data at the specified |key|.
|
| virtual void ClearExtraData(const std::string& key) = 0;
|
| +
|
| + // The status code of the last known successful navigation. If
|
| + // GetHttpStatusCode() returns 0 that means that either:
|
| + //
|
| + // - this navigation hasn't completed yet;
|
| + // - a response wasn't received;
|
| + // - or this navigation was restored and for some reason the
|
| + // status code wasn't available.
|
| + virtual void SetHttpStatusCode(int http_status_code) = 0;
|
| + virtual int GetHttpStatusCode() const = 0;
|
| };
|
|
|
| } // namespace content
|
|
|