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

Unified Diff: blimp/net/blob_channel/types.h

Issue 1887013003: Blimp: Add BlobChannelSender implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-blobcache
Patch Set: Wez feedback. Created 4 years, 8 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: blimp/net/blob_channel/types.h
diff --git a/blimp/net/blob_channel/types.h b/blimp/net/blob_channel/types.h
new file mode 100644
index 0000000000000000000000000000000000000000..c7464947411021ebbbe84dd27737d093aa4551e8
--- /dev/null
+++ b/blimp/net/blob_channel/types.h
@@ -0,0 +1,22 @@
+// Copyright 2016 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 BLIMP_NET_BLOB_CHANNEL_TYPES_H_
+#define BLIMP_NET_BLOB_CHANNEL_TYPES_H_
+
+#include <string>
+#include <vector>
+
+#include "base/memory/ref_counted.h"
+
+namespace blimp {
+
+using BlobData =
+ scoped_refptr<base::RefCountedData<std::vector<uint8_t>>>;
+
+using BlobId = std::string;
+
+} // namespace blimp
+
+#endif // BLIMP_NET_BLOB_CHANNEL_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698