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

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: Created 8 years, 2 months 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
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 INTERRUPT_REASON(FILE_BLOCKED, 11)
39 41
40 // Network errors. 42 // Network errors.
41 43
42 // Generic network failure. 44 // Generic network failure.
43 // "Network Error". 45 // "Network Error".
44 INTERRUPT_REASON(NETWORK_FAILED, 20) 46 INTERRUPT_REASON(NETWORK_FAILED, 20)
45 47
46 // The network operation timed out. 48 // The network operation timed out.
47 // "Operation Timed Out". 49 // "Operation Timed Out".
48 INTERRUPT_REASON(NETWORK_TIMEOUT, 21) 50 INTERRUPT_REASON(NETWORK_TIMEOUT, 21)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // The user shut down the browser. 86 // The user shut down the browser.
85 // Internal use only: resume pending downloads if possible. 87 // Internal use only: resume pending downloads if possible.
86 INTERRUPT_REASON(USER_SHUTDOWN, 41) 88 INTERRUPT_REASON(USER_SHUTDOWN, 41)
87 89
88 90
89 // Crash. 91 // Crash.
90 92
91 // The browser crashed. 93 // The browser crashed.
92 // Internal use only: resume pending downloads if possible. 94 // Internal use only: resume pending downloads if possible.
93 INTERRUPT_REASON(CRASH, 50) 95 INTERRUPT_REASON(CRASH, 50)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698