| Index: ios/web/public/navigation_item.h
|
| diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h
|
| index 21024dcdb8bfd46b8ed0fb60d775dbdc9528e249..6b22ec6bd345421152268bc9f5cffea91a3f7e89 100644
|
| --- a/ios/web/public/navigation_item.h
|
| +++ b/ios/web/public/navigation_item.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/strings/string16.h"
|
| #include "base/supports_user_data.h"
|
| #include "base/time/time.h"
|
| +#import "ios/web/public/user_agent.h"
|
| #import "ios/web/public/web_state/page_display_state.h"
|
| #include "ui/base/page_transition_types.h"
|
|
|
| @@ -108,10 +109,9 @@ class NavigationItem : public base::SupportsUserData {
|
| virtual void SetTimestamp(base::Time timestamp) = 0;
|
| virtual base::Time GetTimestamp() const = 0;
|
|
|
| - // |true| if this item uses a desktop user agent in HTTP requests and
|
| - // UIWebView.
|
| - virtual void SetIsOverridingUserAgent(bool is_overriding_user_agent) = 0;
|
| - virtual bool IsOverridingUserAgent() const = 0;
|
| + // The type of user agent requested for the navigation.
|
| + virtual void SetUserAgentType(UserAgentType type) = 0;
|
| + virtual UserAgentType GetUserAgentType() const = 0;
|
|
|
| // |true| if this item is the result of a POST request with data.
|
| virtual bool HasPostData() const = 0;
|
|
|