Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #include "blimp/engine/mojo/blob_channel_mojo_impl.h" | |
| 6 | |
| 7 namespace blimp { | |
| 8 namespace engine { | |
| 9 | |
| 10 BlobChannelMojoImpl::BlobChannelMojoImpl( | |
| 11 mojo::InterfaceRequest<BlobChannelMojo> request) | |
|
yzshen1
2016/04/05 17:44:14
nit: in case you didn't notice, you can use a shor
Kevin M
2016/04/06 00:01:44
Done.
| |
| 12 : binding_(this, std::move(request)) {} | |
| 13 | |
| 14 BlobChannelMojoImpl::~BlobChannelMojoImpl() {} | |
| 15 | |
| 16 void BlobChannelMojoImpl::Put(const mojo::String& id, | |
| 17 mojo::Array<uint8_t> data) { | |
| 18 NOTIMPLEMENTED(); | |
| 19 } | |
| 20 | |
| 21 void BlobChannelMojoImpl::Push(const mojo::String& id) { | |
| 22 NOTIMPLEMENTED(); | |
| 23 } | |
| 24 | |
| 25 // static | |
| 26 void BlobChannelMojoImpl::Create( | |
| 27 mojo::InterfaceRequest<BlobChannelMojo> request) { | |
| 28 new BlobChannelMojoImpl(std::move(request)); | |
|
nyquist
2016/04/05 22:13:19
Does this ever get deleted? Does it happen automat
Kevin M
2016/04/06 00:01:44
Yes, its StrongBinding |binding_| controls the lif
| |
| 29 } | |
| 30 | |
| 31 } // namespace engine | |
| 32 } // namespace blimp | |
| OLD | NEW |