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

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

Issue 10824048: Factor out PP_FileHandle from ppb_flash_file into its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | ppapi/c/private/pp_file_handle.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
6 /**
7 * This file provides support for native OS file handles.
8 */
9
10 #inline c
11
12 #ifdef _WIN32
13 #include<windows.h>
14 typedef HANDLE PP_FileHandle;
15 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
16
17 #else
18 typedef int PP_FileHandle;
19 static const PP_FileHandle PP_kInvalidFileHandle = -1;
20 #endif
21
22 #endinl
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/private/pp_file_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698