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

Side by Side Diff: chrome/browser/sessions/session_types.h

Issue 11054025: [Sync] Add HTTP status codes to NavigationEntry and TabNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto 11096037 Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_restore_browsertest.cc ('k') | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698