Chromium Code Reviews| Index: blimp/engine/mojo/blob_channel.mojom |
| diff --git a/blimp/engine/mojo/blob_channel.mojom b/blimp/engine/mojo/blob_channel.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ced7d3cd4bb4050f36cfdd2d2295492324ae617c |
| --- /dev/null |
| +++ b/blimp/engine/mojo/blob_channel.mojom |
| @@ -0,0 +1,16 @@ |
| +// 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. |
| + |
| +module blimp.engine; |
| + |
| +interface BlobChannelMojo { |
|
yzshen1
2016/04/05 17:44:14
I believe the convention is to use module/namespac
Kevin M
2016/04/06 00:01:44
Done. Also removed "mojo" from the impl class name
|
| + // Stores the blob |id| in the BlobCache. |
| + Put(string id, array<uint8> data); |
| + |
| + // Requests that the BlobChannel push the blob |id| over the wire. |
| + // The request will be ignored if the BlobChannel knows that |
| + // the client already has the data. |
| + Push(string id); |
| +}; |
| + |