OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_ | |
6 #define STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_ | |
7 | |
8 namespace storage { | |
9 | |
10 // This 'result' enum is used in the blob transport logic. | |
11 enum class BlobTransportResult { | |
12 // This means we should flag the incoming IPC as a bad IPC. | |
13 BAD_IPC, | |
14 // Cancel reasons. | |
15 CANCEL_MEMORY_FULL, | |
16 CANCEL_FILE_ERROR, | |
17 CANCEL_REFERENCED_BLOB_BROKEN, | |
18 CANCEL_UNKNOWN, | |
19 // This means we're waiting on responses from the renderer. | |
20 PENDING_RESPONSES, | |
21 // We're done registering or transferring the blob. | |
22 DONE | |
23 }; | |
24 | |
25 } // namespace storage | |
26 | |
27 #endif // STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_ | |
OLD | NEW |