Searched refs:DownloadPrefs (Results 1 – 7 of 7) sorted by relevance
19 DownloadPrefs::DownloadPrefs(PrefService* prefs) : prefs_(prefs) { in DownloadPrefs() function in DownloadPrefs42 DownloadPrefs::~DownloadPrefs() { in ~DownloadPrefs()47 void DownloadPrefs::RegisterUserPrefs(PrefService* prefs) { in RegisterUserPrefs()81 bool DownloadPrefs::PromptForDownload() const { in PromptForDownload()85 bool DownloadPrefs::IsDownloadPathManaged() const { in IsDownloadPathManaged()89 bool DownloadPrefs::IsAutoOpenUsed() const { in IsAutoOpenUsed()93 bool DownloadPrefs::IsAutoOpenEnabledForExtension( in IsAutoOpenEnabledForExtension()98 bool DownloadPrefs::EnableAutoOpenBasedOnExtension(const FilePath& file_name) { in EnableAutoOpenBasedOnExtension()110 void DownloadPrefs::DisableAutoOpenBasedOnExtension(const FilePath& file_name) { in DisableAutoOpenBasedOnExtension()120 void DownloadPrefs::ResetToDefaults() { in ResetToDefaults()[all …]
17 class DownloadPrefs {19 explicit DownloadPrefs(PrefService* prefs);20 ~DownloadPrefs();69 DISALLOW_COPY_AND_ASSIGN(DownloadPrefs);
51 class DownloadPrefs; variable213 DownloadPrefs* download_prefs() { return download_prefs_.get(); } in download_prefs()382 scoped_ptr<DownloadPrefs> download_prefs_;
257 DownloadPrefs* prefs = download_manager_->download_prefs(); in OpenFilesBasedOnExtension()
231 download_prefs_.reset(new DownloadPrefs(profile_->GetPrefs())); in Init()
1321 DownloadPrefs* download_prefs = in ContinueGetSaveInfo()
129 DownloadPrefs::RegisterUserPrefs(user_prefs); in RegisterUserPrefs()