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

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

Issue 1544603003: [Downloads] Do not store error responses during resumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unify-downloader-core
Patch Set: Created 4 years, 10 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
« no previous file with comments | « content/browser/download/url_downloader.cc ('k') | no next file » | 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 // 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.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Server didn't authorize access to resource. 100 // Server didn't authorize access to resource.
101 INTERRUPT_REASON(SERVER_UNAUTHORIZED, 34) 101 INTERRUPT_REASON(SERVER_UNAUTHORIZED, 34)
102 102
103 // Server certificate problem. 103 // Server certificate problem.
104 INTERRUPT_REASON(SERVER_CERT_PROBLEM, 35) 104 INTERRUPT_REASON(SERVER_CERT_PROBLEM, 35)
105 105
106 // Server access forbidden. 106 // Server access forbidden.
107 INTERRUPT_REASON(SERVER_FORBIDDEN, 36) 107 INTERRUPT_REASON(SERVER_FORBIDDEN, 36)
108 108
109 // Unexpected server response. This might indicate that the responding server
110 // may not be the intended server.
111 INTERRUPT_REASON(SERVER_UNREACHABLE, 37)
112
109 // User input. 113 // User input.
110 114
111 // The user canceled the download. 115 // The user canceled the download.
112 // "Canceled". 116 // "Canceled".
113 INTERRUPT_REASON(USER_CANCELED, 40) 117 INTERRUPT_REASON(USER_CANCELED, 40)
114 118
115 // The user shut down the browser. 119 // The user shut down the browser.
116 // Internal use only: resume pending downloads if possible. 120 // Internal use only: resume pending downloads if possible.
117 INTERRUPT_REASON(USER_SHUTDOWN, 41) 121 INTERRUPT_REASON(USER_SHUTDOWN, 41)
118 122
119 123
120 // Crash. 124 // Crash.
121 125
122 // The browser crashed. 126 // The browser crashed.
123 // Internal use only: resume pending downloads if possible. 127 // Internal use only: resume pending downloads if possible.
124 INTERRUPT_REASON(CRASH, 50) 128 INTERRUPT_REASON(CRASH, 50)
OLDNEW
« no previous file with comments | « content/browser/download/url_downloader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698