summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/base_session_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/base_session_service.h')
-rw-r--r--chrome/browser/sessions/base_session_service.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h
index 6e05094..ae4cbce 100644
--- a/chrome/browser/sessions/base_session_service.h
+++ b/chrome/browser/sessions/base_session_service.h
@@ -46,8 +46,6 @@ class BaseSessionService : public CancelableRequestProvider,
Profile* profile,
const FilePath& path);
- virtual ~BaseSessionService();
-
Profile* profile() const { return profile_; }
// Deletes the last session.
@@ -66,16 +64,22 @@ class BaseSessionService : public CancelableRequestProvider,
explicit InternalGetCommandsRequest(CallbackType* callback)
: CancelableRequest<InternalGetCommandsCallback>(callback) {
}
- virtual ~InternalGetCommandsRequest();
// The commands. The backend fills this in for us.
std::vector<SessionCommand*> commands;
+ protected:
+ virtual ~InternalGetCommandsRequest();
+
private:
DISALLOW_COPY_AND_ASSIGN(InternalGetCommandsRequest);
};
protected:
+ friend class base::RefCountedThreadSafe<BaseSessionService>;
+
+ virtual ~BaseSessionService();
+
// Returns the backend.
SessionBackend* backend() const { return backend_; }