summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 7e48419..236d5cf 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -93,6 +93,9 @@ class Profile {
// record, the same profile is returned.
virtual Profile* GetOffTheRecordProfile() = 0;
+ // Destroys the off the record profile.
+ virtual void DestroyOffTheRecordProfile() = 0;
+
// Return the original "recording" profile. This method returns this if the
// profile is not off the record.
virtual Profile* GetOriginalProfile() = 0;
@@ -268,6 +271,7 @@ class ProfileImpl : public Profile,
virtual FilePath GetPath();
virtual bool IsOffTheRecord();
virtual Profile* GetOffTheRecordProfile();
+ virtual void DestroyOffTheRecordProfile();
virtual Profile* GetOriginalProfile();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
virtual UserScriptMaster* GetUserScriptMaster();