OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |