diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 02:51:49 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 02:51:49 +0000 |
commit | 7fb6c8616a5fb423fd73fdd7df7705e13edf18e3 (patch) | |
tree | c451d0a7cd8bd71e9ba7a1ba5fbbb5047c548796 /chrome/browser | |
parent | 1abbd4aa7ee407983d2a824f009966af9d06c870 (diff) | |
download | chromium_src-7fb6c8616a5fb423fd73fdd7df7705e13edf18e3.zip chromium_src-7fb6c8616a5fb423fd73fdd7df7705e13edf18e3.tar.gz chromium_src-7fb6c8616a5fb423fd73fdd7df7705e13edf18e3.tar.bz2 |
Don't leak visited site information from original profile to OTR profile.
BUG=8388
R=brettw
Review URL: http://codereview.chromium.org/42114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/profile.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 1bc6956..526e528 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -142,7 +142,9 @@ class OffTheRecordProfileImpl : public Profile, } virtual VisitedLinkMaster* GetVisitedLinkMaster() { - return profile_->GetVisitedLinkMaster(); + // We don't provide access to the VisitedLinkMaster when we're OffTheRecord + // because we don't want to leak the sites that the user has visited before. + return NULL; } virtual ExtensionsService* GetExtensionsService() { |