summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
diff options
context:
space:
mode:
authoridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 19:50:59 +0000
committeridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 19:50:59 +0000
commit860f55497abe0123f3c4a6a139ccd84f13d892be (patch)
tree0da2d275be23012e8f4cb603e677b01db9e6646f /chrome/test/testing_profile.h
parentc3ef3429eba3f39db64176ab7a2d722fde388725 (diff)
downloadchromium_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.h3
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;
}