Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: chrome/browser/profile.cc

Issue 46086: Merge 11613 - Don't leak visited site information from original profile to OT... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/169/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/visitedlink_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.cc
===================================================================
--- chrome/browser/profile.cc (revision 11702)
+++ chrome/browser/profile.cc (working copy)
@@ -141,7 +141,9 @@
}
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() {
@@ -381,7 +383,6 @@
FilePath script_dir;
if (user_scripts_enabled) {
-
if (command_line->HasSwitch(switches::kUserScriptsDir)) {
std::wstring path_string =
command_line->GetSwitchValue(switches::kUserScriptsDir);
« no previous file with comments | « no previous file | chrome/common/visitedlink_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698