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

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

Issue 7148003: Add missing include for ppb_flash_file.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ 5 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_
6 #define PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ 6 #define PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_
7 7
8 #ifdef _WIN32 8 #ifdef _WIN32
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
11 11
12 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_resource.h"
14 15
15 #ifdef _WIN32 16 #ifdef _WIN32
16 typedef HANDLE PP_FileHandle; 17 typedef HANDLE PP_FileHandle;
17 static const PP_FileHandle PP_kInvalidFileHandle = NULL; 18 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
18 #else 19 #else
19 typedef int PP_FileHandle; 20 typedef int PP_FileHandle;
20 static const PP_FileHandle PP_kInvalidFileHandle = -1; 21 static const PP_FileHandle PP_kInvalidFileHandle = -1;
21 #endif 22 #endif
22 23
23 struct PP_CompletionCallback; 24 struct PP_CompletionCallback;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // (except in taking FileRefs instead of paths, of course). We omit the 113 // (except in taking FileRefs instead of paths, of course). We omit the
113 // functionality which we do not provide for FileRefs. 114 // functionality which we do not provide for FileRefs.
114 int32_t (*OpenFile)(PP_Resource file_ref_id, 115 int32_t (*OpenFile)(PP_Resource file_ref_id,
115 int32_t mode, 116 int32_t mode,
116 PP_FileHandle* file); 117 PP_FileHandle* file);
117 int32_t (*QueryFile)(PP_Resource file_ref_id, 118 int32_t (*QueryFile)(PP_Resource file_ref_id,
118 struct PP_FileInfo_Dev* info); 119 struct PP_FileInfo_Dev* info);
119 }; 120 };
120 121
121 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ 122 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698