summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_prefs.h
Commit message (Collapse)AuthorAgeFilesLines
* Move DownloadFile/DownloadItem/DownloadManager interfaces into ↵jam@chromium.org2011-12-201-2/+3
| | | | | | | | | content/public/browser, and also put them into the content namespace. BUG=98716 Review URL: http://codereview.chromium.org/9004005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115137 0039d316-1c4b-4281-b951-d872f2087c98
* DownloadManager intereface refactoring to allow cleaner DownloadItem unit tests.rdsmith@chromium.org2011-12-061-1/+8
| | | | | | | | | | | BUG=101214 BUG=106490 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113007 Review URL: http://codereview.chromium.org/8697006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113277 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113007 - DownloadManager intereface refactoring to allow cleaner ↵kalman@chromium.org2011-12-061-8/+1
| | | | | | | | | | | | | | DownloadItem unit tests. BUG=101214 Review URL: http://codereview.chromium.org/8697006 TBR=rdsmith@chromium.org Review URL: http://codereview.chromium.org/8817005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113084 0039d316-1c4b-4281-b951-d872f2087c98
* DownloadManager intereface refactoring to allow cleaner DownloadItem unit tests.rdsmith@chromium.org2011-12-051-1/+8
| | | | | | | | | BUG=101214 Review URL: http://codereview.chromium.org/8697006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113007 0039d316-1c4b-4281-b951-d872f2087c98
* Move DownloadPrefs ownership to chrome layer.jam@chromium.org2011-08-191-0/+4
| | | | | | | BUG=82782 Review URL: http://codereview.chromium.org/7693003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97537 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove OptionsUtil::ResetToDefaults() function.tfarina@chromium.org2011-04-221-1/+0
| | | | | | | | | | | | | | | | No one more uses this function after we removed the platform-specific code and switched to WebUI. (Note: This was a TODO for kmadhusu). BUG=None TEST=None R=thestig@chromium.org,kmadhusu@chromium.org Review URL: http://codereview.chromium.org/6894015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82638 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the context menu "save as" when policy is effective.pastarmovj@chromium.org2011-02-221-0/+3
| | | | | | | | | | | | | | Added a solution for the save as link still trying to open "Save As" dialog instead of using the policy location when set. We still have to keep this option in the menu enabled so that people can work around automatic open which is not dependent on this policy. BUG=59768 TEST=Set the policy. Right click a download link and "save as" should save without prompting. Review URL: http://codereview.chromium.org/6546047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75587 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the DownloadDirectory policy.pastarmovj@chromium.org2011-02-171-1/+5
| | | | | | | | | | | | | | | This policy allows for locking the user to download files only to the specified location. When the policy is set the UI elements should be inactive and the save dialog should never appear. Changes in the Preferences.xib file only wire the enabled status of the download location and save prompt checkbox elements to a variable that tracks the managed state of the DefaultDownloadDir pref. No UI elements were harmed in this change. BUG=59768 TEST=All old download manager tests shouldn't break. UI should behave correctly when policy is set. Review URL: http://codereview.chromium.org/6525054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75255 0039d316-1c4b-4281-b951-d872f2087c98
* Save web page doesn't remember preferred format.tfarina@chromium.org2011-02-081-1/+3
| | | | | | | | | BUG=67135 TEST=see bug Review URL: http://codereview.chromium.org/6410013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74111 0039d316-1c4b-4281-b951-d872f2087c98
* Use .crdownload file path for 'Show In Folder' while download is in progresskinuko@chromium.org2010-11-081-2/+2
| | | | | | | | | BUG=57037 TEST=download a huge file and click 'Show In Folder' during the download Review URL: http://codereview.chromium.org/4460002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65418 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: make more PrefMember methods const.phajdan.jr@chromium.org2010-08-311-3/+2
| | | | | | | | | | | | | | | | This allows the users of PrefService to make their accessors that refer to PrefMember members const too. We use mutable for some PrefMember members, when they do not reflect the outside-visible state. Those members are used to do lazy loading of the preference values. BUG=none TEST=none Review URL: http://codereview.chromium.org/3271004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58086 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Extract all preferences-related code from DownloadManager to ↵phajdan.jr@chromium.org2010-08-301-0/+64
DownloadPrefs. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3226010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57916 0039d316-1c4b-4281-b951-d872f2087c98