Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: content/public/browser/download_interrupt_reason_values.h

Issue 11150027: Handle the case where IAttachmentExecute::Save() deletes a downloaded file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Address comments + Update strings Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/safe_util_win.cc ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // File errors. 6 // File errors.
7 7
8 // Generic file operation failure. 8 // Generic file operation failure.
9 // "File Error". 9 // "File Error".
10 INTERRUPT_REASON(FILE_FAILED, 1) 10 INTERRUPT_REASON(FILE_FAILED, 1)
(...skipping 18 matching lines...) Expand all
29 // The file contains a virus. 29 // The file contains a virus.
30 // "Virus". 30 // "Virus".
31 INTERRUPT_REASON(FILE_VIRUS_INFECTED, 7) 31 INTERRUPT_REASON(FILE_VIRUS_INFECTED, 7)
32 32
33 // The file was in use. 33 // The file was in use.
34 // Too many files are opened at once. 34 // Too many files are opened at once.
35 // We have run out of memory. 35 // We have run out of memory.
36 // "Temporary Problem". 36 // "Temporary Problem".
37 INTERRUPT_REASON(FILE_TRANSIENT_ERROR, 10) 37 INTERRUPT_REASON(FILE_TRANSIENT_ERROR, 10)
38 38
39 // The file was blocked due to local policy.
40 // "Blocked"
41 INTERRUPT_REASON(FILE_BLOCKED, 11)
42
43 // An attempt to check the safety of the download failed due to unexpected
44 // reasons. See http://crbug.com/153212.
45 INTERRUPT_REASON(FILE_SECURITY_CHECK_FAILED, 12)
39 46
40 // Network errors. 47 // Network errors.
41 48
42 // Generic network failure. 49 // Generic network failure.
43 // "Network Error". 50 // "Network Error".
44 INTERRUPT_REASON(NETWORK_FAILED, 20) 51 INTERRUPT_REASON(NETWORK_FAILED, 20)
45 52
46 // The network operation timed out. 53 // The network operation timed out.
47 // "Operation Timed Out". 54 // "Operation Timed Out".
48 INTERRUPT_REASON(NETWORK_TIMEOUT, 21) 55 INTERRUPT_REASON(NETWORK_TIMEOUT, 21)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // The user shut down the browser. 91 // The user shut down the browser.
85 // Internal use only: resume pending downloads if possible. 92 // Internal use only: resume pending downloads if possible.
86 INTERRUPT_REASON(USER_SHUTDOWN, 41) 93 INTERRUPT_REASON(USER_SHUTDOWN, 41)
87 94
88 95
89 // Crash. 96 // Crash.
90 97
91 // The browser crashed. 98 // The browser crashed.
92 // Internal use only: resume pending downloads if possible. 99 // Internal use only: resume pending downloads if possible.
93 INTERRUPT_REASON(CRASH, 50) 100 INTERRUPT_REASON(CRASH, 50)
OLDNEW
« no previous file with comments | « content/browser/safe_util_win.cc ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698