| Index: blimp/net/blob_channel/blob_channel_sender.h
|
| diff --git a/blimp/net/blob_channel/blob_channel_sender.h b/blimp/net/blob_channel/blob_channel_sender.h
|
| index 58c2572334d42344daca345c9ef7c866f92bdba7..ddb43b05a9c12ab32d59d0e65ab2c23b2f906c33 100644
|
| --- a/blimp/net/blob_channel/blob_channel_sender.h
|
| +++ b/blimp/net/blob_channel/blob_channel_sender.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef BLIMP_NET_BLOB_CHANNEL_BLOB_CHANNEL_SENDER_H_
|
| #define BLIMP_NET_BLOB_CHANNEL_BLOB_CHANNEL_SENDER_H_
|
|
|
| +#include <vector>
|
| +
|
| #include "blimp/common/blob_cache/blob_cache.h"
|
| #include "blimp/net/blimp_net_export.h"
|
|
|
| @@ -15,8 +17,16 @@ const size_t kMaxBlobSizeBytes = 10 * 1024 * 1024;
|
|
|
| class BLIMP_NET_EXPORT BlobChannelSender {
|
| public:
|
| + struct CacheStateEntry {
|
| + BlobId id;
|
| + bool was_delivered;
|
| + };
|
| +
|
| virtual ~BlobChannelSender() {}
|
|
|
| + // Gets the list of cache keys and their replication status in the BlobCache.
|
| + virtual std::vector<CacheStateEntry> GetCachedBlobIds() const = 0;
|
| +
|
| // Puts a blob in the local BlobChannel. The blob can then be pushed to the
|
| // remote receiver via "DeliverBlob()".
|
| // Does nothing if there is already a blob |id| in the channel.
|
|
|