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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/sessions/session_backend.h b/chrome/browser/sessions/session_backend.h
index bfd446f..2ac9a97 100644
--- a/chrome/browser/sessions/session_backend.h
+++ b/chrome/browser/sessions/session_backend.h
@@ -81,6 +81,10 @@ class SessionBackend : public base::RefCountedThreadSafe<SessionBackend> {
void MoveCurrentSessionToLastSession();
private:
+ friend class base::RefCountedThreadSafe<SessionBackend>;
+
+ ~SessionBackend() {}
+
// If current_session_file_ is open, it is truncated so that it is essentially
// empty (only contains the header). If current_session_file_ isn't open, it
// is is opened and the header is written to it. After this