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

Side by Side Diff: ppapi/c/private/pp_file_handle.h

Issue 10815080: Add an interface for nacl to create delete-on-close temp files, (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
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 #ifndef PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
6 #define PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
7
8 #ifdef _WIN32
9 #include <windows.h>
10 #endif
11
12 #ifdef _WIN32
13 typedef HANDLE PP_FileHandle;
14 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
15 #else
16 typedef int PP_FileHandle;
17 static const PP_FileHandle PP_kInvalidFileHandle = -1;
18 #endif
19
20 #endif // PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698