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

Unified Diff: storage/browser/blob/blob_transport_result.h

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Patch Set: comments/fixes Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: storage/browser/blob/blob_transport_result.h
diff --git a/storage/browser/blob/blob_transport_result.h b/storage/browser/blob/blob_transport_result.h
new file mode 100644
index 0000000000000000000000000000000000000000..0d81e1ca314ea6979b3ffd7ac746a7d2e8fa98e1
--- /dev/null
+++ b/storage/browser/blob/blob_transport_result.h
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_
+#define STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_
+
+namespace storage {
+
+// This 'result' enum is used in the blob transport logic.
+enum class BlobTransportResult {
+ // This means we should flag the incoming IPC as a bad IPC.
+ BAD_IPC,
+ // Cancel reasons.
+ CANCEL_MEMORY_FULL,
+ CANCEL_FILE_ERROR,
+ CANCEL_UNKNOWN,
+ // This means we're waiting on responses from the renderer.
+ PENDING_RESPONSES,
+ // We're done transferring the blob.
+ DONE
+};
+
+} // namespace storage
+
+#endif // STORAGE_BROWSER_BLOB_BLOB_TRANSPORT_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698