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

Side by Side Diff: blimp/engine/mojo/blob_channel_service.cc

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yzshen and nyquist feedback 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
« no previous file with comments | « blimp/engine/mojo/blob_channel_service.h ('k') | blimp/engine/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
OLDNEW
« no previous file with comments | « blimp/engine/mojo/blob_channel_service.h ('k') | blimp/engine/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698