| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback_old.h" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "chrome/browser/profiles/profile_keyed_service.h" | 13 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 14 #include "chrome/browser/sessions/session_id.h" | 14 #include "chrome/browser/sessions/session_id.h" |
| 15 #include "content/browser/cancelable_request.h" | 15 #include "content/browser/cancelable_request.h" |
| 16 | 16 |
| 17 class NavigationEntry; | 17 class NavigationEntry; |
| 18 class Profile; | 18 class Profile; |
| 19 class SessionBackend; | 19 class SessionBackend; |
| 20 class SessionCommand; | 20 class SessionCommand; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // over the commands. | 183 // over the commands. |
| 184 bool pending_reset_; | 184 bool pending_reset_; |
| 185 | 185 |
| 186 // The number of commands sent to the backend before doing a reset. | 186 // The number of commands sent to the backend before doing a reset. |
| 187 int commands_since_reset_; | 187 int commands_since_reset_; |
| 188 | 188 |
| 189 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); | 189 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ | 192 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ |
| OLD | NEW |