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

Side by Side Diff: native_client_sdk/src/examples/demo/googledrivefs_demo/googledrivefs_demo.h

Issue 2156503002: [NaCl SDK] Expose Google Drive to nacl_io. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2016 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 NACL_IO_DEMO_H_ 5 #ifndef GOOGLEFILEFS_DEMO_H_
6 #define NACL_IO_DEMO_H_ 6 #define GOOGLEFILEFS_DEMO_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
11 #include "ppapi/c/ppb_var.h" 11 #include "ppapi/c/ppb_var.h"
12 #include "ppapi/c/ppb_var_array.h" 12 #include "ppapi/c/ppb_var_array.h"
13 #include "ppapi/c/ppb_var_dictionary.h" 13 #include "ppapi/c/ppb_var_dictionary.h"
14 #include "sdk_util/macros.h" // for PRINTF_LIKE 14 #include "sdk_util/macros.h" // for PRINTF_LIKE
15 15
16 struct PP_Var CStrToVar(const char* str); 16 struct PP_Var CStrToVar(const char* str);
17 char* VprintfToNewString(const char* format, va_list args) PRINTF_LIKE(1, 0); 17 char* VprintfToNewString(const char* format, va_list args) PRINTF_LIKE(1, 0);
18 char* PrintfToNewString(const char* format, ...) PRINTF_LIKE(1, 2); 18 char* PrintfToNewString(const char* format, ...) PRINTF_LIKE(1, 2);
19 struct PP_Var GetDictVar(struct PP_Var var, const char* key); 19 struct PP_Var GetDictVar(struct PP_Var var, const char* key);
20 20
21 extern PPB_Var* g_ppb_var; 21 extern PPB_Var* g_ppb_var;
22 extern PPB_VarArray* g_ppb_var_array; 22 extern PPB_VarArray* g_ppb_var_array;
23 extern PPB_VarDictionary* g_ppb_var_dictionary; 23 extern PPB_VarDictionary* g_ppb_var_dictionary;
24 24
25 #endif /* NACL_IO_DEMO_H_ */ 25 #endif /* GOOGLEFILEFS_DEMO_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698