summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/session_backend.h')
-rw-r--r--chrome/browser/sessions/session_backend.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/sessions/session_backend.h b/chrome/browser/sessions/session_backend.h
index 498b43f..c5e79e2 100644
--- a/chrome/browser/sessions/session_backend.h
+++ b/chrome/browser/sessions/session_backend.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/sessions/base_session_service.h"
#include "chrome/browser/sessions/session_command.h"
+#include "chrome/common/cancelable_task_tracker.h"
namespace net {
class FileStream;
@@ -66,7 +67,8 @@ class SessionBackend : public base::RefCountedThreadSafe<SessionBackend> {
// Invoked from the service to read the commands that make up the last
// session, invokes ReadLastSessionCommandsImpl to do the work.
void ReadLastSessionCommands(
- scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request);
+ const CancelableTaskTracker::IsCanceledCallback& is_canceled,
+ const BaseSessionService::InternalGetCommandsCallback& callback);
// Reads the commands from the last file.
//
@@ -82,11 +84,6 @@ class SessionBackend : public base::RefCountedThreadSafe<SessionBackend> {
// browsers are running.
void MoveCurrentSessionToLastSession();
- // Invoked from the service to read the commands that make up the current
- // session, invokes ReadCurrentSessionCommandsImpl to do the work.
- void ReadCurrentSessionCommands(
- scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request);
-
// Reads the commands from the current file.
//
// On success, the read commands are added to commands. It is up to the