diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 07:31:11 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 07:31:11 +0000 |
commit | 6c8909c917c7e8fc735416adf5e6db82b0f91982 (patch) | |
tree | 8bdd526de11cf070c1fad18c92d15fce595b838a /chrome/browser/profile.h | |
parent | 26420cde5e0df5bc8b9ca304aa6dbe1174e33ea1 (diff) | |
download | chromium_src-6c8909c917c7e8fc735416adf5e6db82b0f91982.zip chromium_src-6c8909c917c7e8fc735416adf5e6db82b0f91982.tar.gz chromium_src-6c8909c917c7e8fc735416adf5e6db82b0f91982.tar.bz2 |
Display content settings applying to the current otr session only.
Also allow for editing them...
The XIB change adds a column at the end of the table with a NSCheckboxCell in it and the title IDS_EXCEPTIONS_OTR_HEADER
BUG=44480
TEST=manual
Review URL: http://codereview.chromium.org/2858032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 6c3eb45..f493dac 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -150,6 +150,9 @@ class Profile { // Destroys the off the record profile. virtual void DestroyOffTheRecordProfile() = 0; + // True if an off the record profile exists. + virtual bool HasOffTheRecordProfile() = 0; + // Return the original "recording" profile. This method returns this if the // profile is not off the record. virtual Profile* GetOriginalProfile() = 0; @@ -480,6 +483,7 @@ class ProfileImpl : public Profile, virtual bool IsOffTheRecord(); virtual Profile* GetOffTheRecordProfile(); virtual void DestroyOffTheRecordProfile(); + virtual bool HasOffTheRecordProfile(); virtual Profile* GetOriginalProfile(); virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); virtual history::TopSites* GetTopSites(); |