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

Side by Side Diff: ppapi/api/private/ppp_pexe_stream_handler.idl

Issue 393693004: Pepper: Delete FileDownloader in trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove last fixme Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright (c) 2014 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
6 /* This file contains NaCl private interfaces. This interface is not versioned
7 * and is for internal Chrome use. It may change without notice. */
8
9 #inline c
10 #include "ppapi/c/private/pp_file_handle.h"
11 #endinl
12
13 label Chrome {
14 M25 = 1.0
dmichael (off chromium) 2014/07/17 16:13:21 I'm assuming this is hand-rolled? It doesn't reall
teravest 2014/07/21 18:33:21 ppb_nacl_private_impl.idl is versioned at M25. I c
dmichael (off chromium) 2014/07/21 19:49:22 I think in theory both should be bumped, but yeah,
15 };
16
17 interface PPP_PexeStreamHandler {
18 /**
19 * Invoked as a result of a cache hit for a translated pexe.
20 */
21 void DidCacheHit([inout] mem_t user_data,
22 [in] PP_FileHandle nexe_file_handle);
23
24 /**
25 * Invoked as a result of a cache miss for a translated pexe.
26 * Provides the expected length of the pexe, as read from HTTP headers.
27 */
28 void DidCacheMiss([inout] mem_t user_data,
29 [in] int64_t expected_total_length);
30
31 /**
32 * Invoked when a block of data has been downloaded.
33 * Only invoked after DidCacheMiss().
34 */
35 void DidStreamData([inout] mem_t user_data,
36 [in] mem_t data,
37 [in] int32_t length);
38
39 /**
40 * Invoked when the stream has finished downloading, regardless of whether it
41 * succeeded. Not invoked if DidCacheHit() was called.
42 */
43 void DidFinishStream([inout] mem_t user_data,
44 [in] int32_t pp_error);
45 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698