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

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

Issue 319603003: [Downloads] Retry renames after transient failures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 6 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 // Note that the embedder is welcome to persist these values across 5 // Note that the embedder is welcome to persist these values across
6 // invocations of the browser, and possibly across browser versions. 6 // invocations of the browser, and possibly across browser versions.
7 // Thus individual errors may be deprecated and new errors added, but 7 // Thus individual errors may be deprecated and new errors added, but
8 // the values of particular errors should not be changed. 8 // the values of particular errors should not be changed.
9 9
10 // File errors. 10 // File errors.
11 11
12 // Generic file operation failure. 12 // Generic file operation failure.
13 // "File Error". 13 // "File Error".
14 INTERRUPT_REASON(FILE_FAILED, 1) 14 INTERRUPT_REASON(FILE_FAILED, 1)
15 15
16 // The file cannot be accessed due to security restrictions. 16 // The file cannot be accessed due to security restrictions.
17 // The file cannot be accessed.
18 // "Access Denied". 17 // "Access Denied".
19 INTERRUPT_REASON(FILE_ACCESS_DENIED, 2) 18 INTERRUPT_REASON(FILE_ACCESS_DENIED, 2)
20 19
21 // There is not enough room on the drive. 20 // There is not enough room on the drive.
22 // "Disk Full". 21 // "Disk Full".
23 INTERRUPT_REASON(FILE_NO_SPACE, 3) 22 INTERRUPT_REASON(FILE_NO_SPACE, 3)
24 23
25 // The directory or file name is too long. 24 // The directory or file name is too long.
26 // "Path Too Long". 25 // "Path Too Long".
27 INTERRUPT_REASON(FILE_NAME_TOO_LONG, 5) 26 INTERRUPT_REASON(FILE_NAME_TOO_LONG, 5)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // The user shut down the browser. 104 // The user shut down the browser.
106 // Internal use only: resume pending downloads if possible. 105 // Internal use only: resume pending downloads if possible.
107 INTERRUPT_REASON(USER_SHUTDOWN, 41) 106 INTERRUPT_REASON(USER_SHUTDOWN, 41)
108 107
109 108
110 // Crash. 109 // Crash.
111 110
112 // The browser crashed. 111 // The browser crashed.
113 // Internal use only: resume pending downloads if possible. 112 // Internal use only: resume pending downloads if possible.
114 INTERRUPT_REASON(CRASH, 50) 113 INTERRUPT_REASON(CRASH, 50)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698