OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_ |
| 7 |
| 8 enum class DownloadConfirmationReason { |
| 9 NONE, |
| 10 UNEXPECTED, // Unexpected error. |
| 11 SAVE_AS, // "Save as" or "Save link as" |
| 12 PREFERENCE, // The user has set a preference requiring prompts for all |
| 13 // downloads. |
| 14 NAME_TOO_LONG, // The target name was too long and couldn't be truncated. |
| 15 TARGET_CONFLICT, // There were unresolved conflicts with the target path. |
| 16 TARGET_NOT_WRITEABLE, // The target path isn't writeable. Also may indicate |
| 17 // that a previous attempt to write to the path failed. |
| 18 TARGET_NO_SPACE, // The target path cannot accommodate a file of this size. |
| 19 }; |
| 20 |
| 21 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_ |
OLD | NEW |