| 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);
|
|
|