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 CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
7 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 content::Referrer referrer_; | 107 content::Referrer referrer_; |
108 GURL virtual_url_; | 108 GURL virtual_url_; |
109 string16 title_; | 109 string16 title_; |
110 std::string content_state_; | 110 std::string content_state_; |
111 content::PageTransition transition_type_; | 111 content::PageTransition transition_type_; |
112 bool has_post_data_; | 112 bool has_post_data_; |
113 int64 post_id_; | 113 int64 post_id_; |
114 GURL original_request_url_; | 114 GURL original_request_url_; |
115 bool is_overriding_user_agent_; | 115 bool is_overriding_user_agent_; |
116 base::Time timestamp_; | 116 base::Time timestamp_; |
| 117 int http_status_code_; |
117 }; | 118 }; |
118 | 119 |
119 // SessionTab ---------------------------------------------------------------- | 120 // SessionTab ---------------------------------------------------------------- |
120 | 121 |
121 // SessionTab corresponds to a NavigationController. | 122 // SessionTab corresponds to a NavigationController. |
122 struct SessionTab { | 123 struct SessionTab { |
123 SessionTab(); | 124 SessionTab(); |
124 ~SessionTab(); | 125 ~SessionTab(); |
125 | 126 |
126 // Since the current_navigation_index can be larger than the index for number | 127 // Since the current_navigation_index can be larger than the index for number |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 // Is the window maximized, minimized, or normal? | 237 // Is the window maximized, minimized, or normal? |
237 ui::WindowShowState show_state; | 238 ui::WindowShowState show_state; |
238 | 239 |
239 std::string app_name; | 240 std::string app_name; |
240 | 241 |
241 private: | 242 private: |
242 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 243 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
243 }; | 244 }; |
244 | 245 |
245 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 246 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
OLD | NEW |