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

Side by Side Diff: ios/web/public/navigation_item.h

Issue 2664113003: Moved serialization out of CRWSessionEntry. (Closed)
Patch Set: Eugene's comments Created 3 years, 10 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
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_PUBLIC_NAVIGATION_ITEM_H_ 5 #ifndef IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
6 #define IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_ 6 #define IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/supports_user_data.h" 11 #include "base/supports_user_data.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "ios/web/public/web_state/page_display_state.h" 13 #import "ios/web/public/web_state/page_display_state.h"
14 #include "ui/base/page_transition_types.h" 14 #include "ui/base/page_transition_types.h"
15 15
16 class GURL; 16 class GURL;
17 17
18 @class NSDictionary; 18 @class NSDictionary;
19 19
20 namespace web { 20 namespace web {
21 struct FaviconStatus; 21 struct FaviconStatus;
22 struct Referrer; 22 struct Referrer;
23 struct SSLStatus; 23 struct SSLStatus;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual NSDictionary* GetHttpRequestHeaders() const = 0; 120 virtual NSDictionary* GetHttpRequestHeaders() const = 0;
121 121
122 // Adds headers from |additional_headers| to the item's http request headers. 122 // Adds headers from |additional_headers| to the item's http request headers.
123 // Existing headers with the same key will be overridden. 123 // Existing headers with the same key will be overridden.
124 virtual void AddHttpRequestHeaders(NSDictionary* additional_headers) = 0; 124 virtual void AddHttpRequestHeaders(NSDictionary* additional_headers) = 0;
125 }; 125 };
126 126
127 } // namespace web 127 } // namespace web
128 128
129 #endif // IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_ 129 #endif // IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
OLDNEW
« no previous file with comments | « ios/web/public/crw_navigation_manager_storage.mm ('k') | ios/web/public/web_state/page_display_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698