Index: chrome/browser/download/download_prefs.h |
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h |
index e4d82594aa3b474cd1c8bfd2c5a6b5756221b7be..b481158af44db0a9d823b41d5818927144bdcf60 100644 |
--- a/chrome/browser/download/download_prefs.h |
+++ b/chrome/browser/download/download_prefs.h |
@@ -66,8 +66,8 @@ class DownloadPrefs { |
// |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. |
+ // Enables auto-open based on file extension. Returns true on success. Will |
+ // fail if the |file_name| is allowed to open automatically. |
Randy Smith (Not in Mondays)
2015/06/03 23:44:08
"is allowed" -> "isn't allowed"?
asanka
2015/06/04 15:30:48
Done.
|
bool EnableAutoOpenBasedOnExtension(const base::FilePath& file_name); |
// Disables auto-open based on file extension. |