Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: ios/web/navigation/navigation_item_impl.h

Issue 2737203002: Remove CRWSessionEntry. (Closed)
Patch Set: fix XCode-clang build Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/navigation/crw_session_entry.mm ('k') | ios/web/navigation/navigation_item_impl_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_ 5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_
6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_ 6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 base::Time GetTimestamp() const override; 67 base::Time GetTimestamp() const override;
68 void SetUserAgentType(UserAgentType type) override; 68 void SetUserAgentType(UserAgentType type) override;
69 UserAgentType GetUserAgentType() const override; 69 UserAgentType GetUserAgentType() const override;
70 bool HasPostData() const override; 70 bool HasPostData() const override;
71 NSDictionary* GetHttpRequestHeaders() const override; 71 NSDictionary* GetHttpRequestHeaders() const override;
72 void AddHttpRequestHeaders(NSDictionary* additional_headers) override; 72 void AddHttpRequestHeaders(NSDictionary* additional_headers) override;
73 73
74 // Serialized representation of the state object that was used in conjunction 74 // Serialized representation of the state object that was used in conjunction
75 // with a JavaScript window.history.pushState() or 75 // with a JavaScript window.history.pushState() or
76 // window.history.replaceState() call that created or modified this 76 // window.history.replaceState() call that created or modified this
77 // CRWSessionEntry. Intended to be used for JavaScript history operations and 77 // NavigationItem. Intended to be used for JavaScript history operations and
78 // will be nil in most cases. 78 // will be nil in most cases.
79 void SetSerializedStateObject(NSString* serialized_state_object); 79 void SetSerializedStateObject(NSString* serialized_state_object);
80 NSString* GetSerializedStateObject() const; 80 NSString* GetSerializedStateObject() const;
81 81
82 // Whether or not this item was created by calling history.pushState(). 82 // Whether or not this item was created by calling history.pushState().
83 void SetIsCreatedFromPushState(bool push_state); 83 void SetIsCreatedFromPushState(bool push_state);
84 bool IsCreatedFromPushState() const; 84 bool IsCreatedFromPushState() const;
85 85
86 // Whether the state for this navigation has been changed by 86 // Whether the state for this navigation has been changed by
87 // history.replaceState(). 87 // history.replaceState().
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // Weak pointer to the facade delegate. 169 // Weak pointer to the facade delegate.
170 std::unique_ptr<NavigationItemFacadeDelegate> facade_delegate_; 170 std::unique_ptr<NavigationItemFacadeDelegate> facade_delegate_;
171 171
172 // Copy and assignment is explicitly allowed for this class. 172 // Copy and assignment is explicitly allowed for this class.
173 }; 173 };
174 174
175 } // namespace web 175 } // namespace web
176 176
177 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_ 177 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/crw_session_entry.mm ('k') | ios/web/navigation/navigation_item_impl_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698