diff options
author | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 19:50:59 +0000 |
---|---|---|
committer | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 19:50:59 +0000 |
commit | 860f55497abe0123f3c4a6a139ccd84f13d892be (patch) | |
tree | 0da2d275be23012e8f4cb603e677b01db9e6646f /chrome/test/testing_profile.h | |
parent | c3ef3429eba3f39db64176ab7a2d722fde388725 (diff) | |
download | chromium_src-860f55497abe0123f3c4a6a139ccd84f13d892be.zip chromium_src-860f55497abe0123f3c4a6a139ccd84f13d892be.tar.gz chromium_src-860f55497abe0123f3c4a6a139ccd84f13d892be.tar.bz2 |
Issue 348: can view old incognito cache if main process left running
Same place we clear cookies when the last incognito window is closed,
destroy the entire incognito profile which by implication destoys the
incognito cache.
BUG=348
Review URL: http://codereview.chromium.org/53101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r-- | chrome/test/testing_profile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index 3472e52..fe3848d 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -72,6 +72,9 @@ class TestingProfile : public Profile { virtual Profile* GetOffTheRecordProfile() { return NULL; } + + virtual void DestroyOffTheRecordProfile() {} + virtual Profile* GetOriginalProfile() { return this; } |