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

Side by Side Diff: blimp/net/blob_channel/blob_channel_bindings.h

Issue 1887013003: Blimp: Add BlobChannelSender implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-blobcache
Patch Set: Remove erroneous namespace 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 BLIMP_NET_BLOB_CHANNEL_BLOB_CHANNEL_BINDINGS_H_
6 #define BLIMP_NET_BLOB_CHANNEL_BLOB_CHANNEL_BINDINGS_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace blimp {
12
13 // Interfaces for attaching transport-specific implementations to BlobChannel
14 // operations. The caller is responsible for handling call deduplication;
15 // bindings objects simply execute the command.
16
17 class BlobSenderBindings {
Wez 2016/04/15 17:15:16 This just looks like a BlobSender "delegate"; why
Kevin M 2016/04/15 22:42:56 It is just a delegate. So, now it's a Delegate. :)
18 public:
19 // Send blob |id| with payload |data| to the receiver.
20 virtual void Send(const std::string& id,
21 const std::vector<uint8_t>& data) = 0;
Wez 2016/04/15 17:15:16 Provide typedefs for these so that BlobChannel/Blo
Kevin M 2016/04/15 22:42:56 Added "types.h" for standardization.
22 };
23
24 } // namespace blimp
25
26 #endif // BLIMP_NET_BLOB_CHANNEL_BLOB_CHANNEL_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698