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

Side by Side Diff: ppapi/proxy/proxy_array_output.cc

Issue 9728001: Make the file chooser use PP_ArrayOutput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « ppapi/proxy/proxy_array_output.h ('k') | ppapi/shared_impl/array_writer.h » ('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 (c) 2012 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 "ppapi/proxy/proxy_array_output.h"
6
7 #include "base/logging.h"
8
9 namespace ppapi {
10 namespace proxy {
11
12 // static
13 void* ArrayOutputAdapterBase::GetDataBufferThunk(void* user_data,
14 uint32_t element_count,
15 uint32_t element_size) {
16 return static_cast<ArrayOutputAdapterBase*>(user_data)->
17 GetDataBuffer(element_count, element_size);
18 }
19
20 } // namespace proxy
21 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/proxy_array_output.h ('k') | ppapi/shared_impl/array_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698