| Index: chrome/browser/download/download_prefs.h
|
| diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h
|
| index 90ec566c947a2f63af7918c2a118acc3287f1d09..e4f0fe03b2cebbb6e2fb2bb2959c4363884a5044 100644
|
| --- a/chrome/browser/download/download_prefs.h
|
| +++ b/chrome/browser/download/download_prefs.h
|
| @@ -49,8 +49,9 @@ class DownloadPrefs {
|
| // for auto-open.
|
| bool IsAutoOpenUsed() const;
|
|
|
| - bool IsAutoOpenEnabledForExtension(
|
| - const base::FilePath::StringType& extension) const;
|
| + // Returns true if |path| should be opened automatically based on
|
| + // |path.Extension()|.
|
| + bool IsAutoOpenEnabledBasedOnExtension(const base::FilePath& path) const;
|
|
|
| // Enables auto-open based on file extension. Returns true on success.
|
| // TODO(phajdan.jr): Add WARN_UNUSED_RESULT here.
|
|
|