OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void SetPostID(int64 post_id) = 0; | 131 virtual void SetPostID(int64 post_id) = 0; |
132 virtual int64 GetPostID() const = 0; | 132 virtual int64 GetPostID() const = 0; |
133 | 133 |
134 // The favicon data and tracking information. See content::FaviconStatus. | 134 // The favicon data and tracking information. See content::FaviconStatus. |
135 virtual const FaviconStatus& GetFavicon() const = 0; | 135 virtual const FaviconStatus& GetFavicon() const = 0; |
136 virtual FaviconStatus& GetFavicon() = 0; | 136 virtual FaviconStatus& GetFavicon() = 0; |
137 | 137 |
138 // All the SSL flags and state. See content::SSLStatus. | 138 // All the SSL flags and state. See content::SSLStatus. |
139 virtual const SSLStatus& GetSSL() const = 0; | 139 virtual const SSLStatus& GetSSL() const = 0; |
140 virtual SSLStatus& GetSSL() = 0; | 140 virtual SSLStatus& GetSSL() = 0; |
| 141 |
| 142 // Store the URL that caused this NavigationEntry to be created. |
| 143 virtual void SetOriginalRequestURL(const GURL& original_url) = 0; |
| 144 virtual const GURL& GetOriginalRequestURL() const = 0; |
141 }; | 145 }; |
142 | 146 |
143 } // namespace content | 147 } // namespace content |
144 | 148 |
145 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 149 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
OLD | NEW |