DescriptionDon't save last used locations in open and save dialogs when in incognito mode.
For "Save page as..." we simply don't store the save location in incognito mode.
For "Open File"... and file upload controls, it's a bit more complicated: because NSOpenPanel and NSSavePanel default to using the last chosen directory from NavigationServices (which we can't influence),
we provide a preference value prefs::kLastChosenDirectory as fallback there, which is not persisted in incognito mode.
BUG=45064
TEST=See bug for manual test.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49237
Patch Set 1 #Patch Set 2 : Fix build error in tests; Sync #
Total comments: 4
Patch Set 3 : Addressed review comments. #Patch Set 4 : Rename kLastSelectedDirectory to kSelectFileLastDirectory. #
Messages
Total messages: 7 (0 generated)
|