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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 141 |
142 // Store the URL that caused this NavigationEntry to be created. | 142 // Store the URL that caused this NavigationEntry to be created. |
143 virtual void SetOriginalRequestURL(const GURL& original_url) = 0; | 143 virtual void SetOriginalRequestURL(const GURL& original_url) = 0; |
144 virtual const GURL& GetOriginalRequestURL() const = 0; | 144 virtual const GURL& GetOriginalRequestURL() const = 0; |
145 | |
146 // Store whether or not we're overriding the user agent. | |
147 virtual void SetOverrideUserAgent(bool override) = 0; | |
148 virtual bool GetOverrideUserAgent() const = 0; | |
tony
2012/05/10 18:40:59
Nit: I think [SG]etIsOverridingUserAgent would be
gone
2012/05/11 15:40:30
Done.
| |
145 }; | 149 }; |
146 | 150 |
147 } // namespace content | 151 } // namespace content |
148 | 152 |
149 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 153 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
OLD | NEW |