| 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_service.h" |
| 6 |
| 7 namespace blimp { |
| 8 namespace engine { |
| 9 |
| 10 BlobChannelService::BlobChannelService(mojom::BlobChannelRequest request) |
| 11 : binding_(this, std::move(request)) {} |
| 12 |
| 13 BlobChannelService::~BlobChannelService() {} |
| 14 |
| 15 void BlobChannelService::Put(const mojo::String& id, |
| 16 mojo::Array<uint8_t> data) { |
| 17 NOTIMPLEMENTED(); |
| 18 } |
| 19 |
| 20 void BlobChannelService::Push(const mojo::String& id) { |
| 21 NOTIMPLEMENTED(); |
| 22 } |
| 23 |
| 24 // static |
| 25 void BlobChannelService::Create( |
| 26 mojo::InterfaceRequest<mojom::BlobChannel> request) { |
| 27 // Object lifetime is managed by BlobChannelService's StrongBinding |
| 28 // |binding_|. |
| 29 new BlobChannelService(std::move(request)); |
| 30 } |
| 31 |
| 32 } // namespace engine |
| 33 } // namespace blimp |
| OLD | NEW |