| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 // Post data is form data that was posted to get to this page. The data will | 121 // Post data is form data that was posted to get to this page. The data will |
| 122 // have to be reposted to reload the page properly. This flag indicates | 122 // have to be reposted to reload the page properly. This flag indicates |
| 123 // whether the page had post data. | 123 // whether the page had post data. |
| 124 // | 124 // |
| 125 // The actual post data is stored in the content_state and is extracted by | 125 // The actual post data is stored in the content_state and is extracted by |
| 126 // WebKit to actually make the request. | 126 // WebKit to actually make the request. |
| 127 virtual void SetHasPostData(bool has_post_data) = 0; | 127 virtual void SetHasPostData(bool has_post_data) = 0; |
| 128 virtual bool GetHasPostData() const = 0; | 128 virtual bool GetHasPostData() const = 0; |
| 129 | 129 |
| 130 // The Post identifier associated with the page. |
| 131 virtual void SetPostID(int64 post_id) = 0; |
| 132 virtual int64 GetPostID() const = 0; |
| 133 |
| 130 // The favicon data and tracking information. See content::FaviconStatus. | 134 // The favicon data and tracking information. See content::FaviconStatus. |
| 131 virtual const FaviconStatus& GetFavicon() const = 0; | 135 virtual const FaviconStatus& GetFavicon() const = 0; |
| 132 virtual FaviconStatus& GetFavicon() = 0; | 136 virtual FaviconStatus& GetFavicon() = 0; |
| 133 | 137 |
| 134 // All the SSL flags and state. See content::SSLStatus. | 138 // All the SSL flags and state. See content::SSLStatus. |
| 135 virtual const SSLStatus& GetSSL() const = 0; | 139 virtual const SSLStatus& GetSSL() const = 0; |
| 136 virtual SSLStatus& GetSSL() = 0; | 140 virtual SSLStatus& GetSSL() = 0; |
| 137 }; | 141 }; |
| 138 | 142 |
| 139 } // namespace content | 143 } // namespace content |
| 140 | 144 |
| 141 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 145 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
| OLD | NEW |