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_BASE_SESSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ |
6 #define CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ | 6 #define CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 // Commands we need to send over to the backend. | 205 // Commands we need to send over to the backend. |
206 std::vector<SessionCommand*> pending_commands_; | 206 std::vector<SessionCommand*> pending_commands_; |
207 | 207 |
208 // Whether the backend file should be recreated the next time we send | 208 // Whether the backend file should be recreated the next time we send |
209 // over the commands. | 209 // over the commands. |
210 bool pending_reset_; | 210 bool pending_reset_; |
211 | 211 |
212 // The number of commands sent to the backend before doing a reset. | 212 // The number of commands sent to the backend before doing a reset. |
213 int commands_since_reset_; | 213 int commands_since_reset_; |
214 | 214 |
215 // Whether to save the HTTP bodies of the POST requests. | |
216 bool save_post_data_; | |
217 | |
218 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); | 215 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); |
219 }; | 216 }; |
220 | 217 |
221 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ | 218 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ |
OLD | NEW |