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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/cpp/dev/font_dev.h » ('j') | 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 #include "ppapi/c/pp_resource.h"
15 15
16 #ifdef _WIN32 16 #ifdef _WIN32
17 typedef HANDLE PP_FileHandle; 17 typedef HANDLE PP_FileHandle;
18 static const PP_FileHandle PP_kInvalidFileHandle = NULL; 18 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
19 #else 19 #else
20 typedef int PP_FileHandle; 20 typedef int PP_FileHandle;
21 static const PP_FileHandle PP_kInvalidFileHandle = -1; 21 static const PP_FileHandle PP_kInvalidFileHandle = -1;
22 #endif 22 #endif
23 23
24 struct PP_CompletionCallback;
25 struct PP_FontDescription_Dev;
26 struct PP_FileInfo; 24 struct PP_FileInfo;
27 25
28 struct PP_DirEntry_Dev { 26 struct PP_DirEntry_Dev {
29 const char* name; 27 const char* name;
30 PP_Bool is_dir; 28 PP_Bool is_dir;
31 }; 29 };
32 30
33 struct PP_DirContents_Dev { 31 struct PP_DirContents_Dev {
34 int32_t count; 32 int32_t count;
35 struct PP_DirEntry_Dev* entries; 33 struct PP_DirEntry_Dev* entries;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // (except in taking FileRefs instead of paths, of course). We omit the 111 // (except in taking FileRefs instead of paths, of course). We omit the
114 // functionality which we do not provide for FileRefs. 112 // functionality which we do not provide for FileRefs.
115 int32_t (*OpenFile)(PP_Resource file_ref_id, 113 int32_t (*OpenFile)(PP_Resource file_ref_id,
116 int32_t mode, 114 int32_t mode,
117 PP_FileHandle* file); 115 PP_FileHandle* file);
118 int32_t (*QueryFile)(PP_Resource file_ref_id, 116 int32_t (*QueryFile)(PP_Resource file_ref_id,
119 struct PP_FileInfo* info); 117 struct PP_FileInfo* info);
120 }; 118 };
121 119
122 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_ 120 #endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/dev/font_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698