summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 08:42:51 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 08:42:51 +0000
commit35896a39fe47d8b17969a07c629c69e6a17ceb30 (patch)
tree588f2208a07630501597e3ba3ecfc6034954c7c0 /chrome/common/pref_names.h
parent7ac1ce2f4d2e385c53340f501764bdd59bd86ad4 (diff)
downloadchromium_src-35896a39fe47d8b17969a07c629c69e6a17ceb30.zip
chromium_src-35896a39fe47d8b17969a07c629c69e6a17ceb30.tar.gz
chromium_src-35896a39fe47d8b17969a07c629c69e6a17ceb30.tar.bz2
Don'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. Review URL: http://codereview.chromium.org/2450004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.h')
-rw-r--r--chrome/common/pref_names.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 57c3276..18ae835 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -237,6 +237,8 @@ extern const wchar_t kDownloadDirUpgraded[];
extern const wchar_t kSaveFileDefaultDirectory[];
+extern const wchar_t kSelectFileLastDirectory[];
+
extern const wchar_t kHungPluginDetectFrequency[];
extern const wchar_t kPluginMessageResponseTimeout[];