|
PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation
Current PPB_FileRef.MakeDirectory returns PP_OK if a directory exists on
the given path. This makes it difficult to create POSIX compatible API on
top of PPAPI.
This change introduces new PPB_FileRef.MakeDirectory as dev channel API.
That makes a new directory according to the given PP_MakeDirectoryFlags
values. The flags provide exclusive operation option. If exclusive flag
is specified and a directory exists on the given path, the function fails
and returns PP_ERROR_FILEEXISTS.
BUG= 314879
TEST=browser_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243802
Total comments: 4
Total comments: 9
Total comments: 9
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+380 lines, -116 lines) |
Patch |
 |
M |
chrome/browser/component_updater/ppapi_utils.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_file_ref_host.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_file_ref_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_module.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/ppb_file_ref.idl
|
View
|
1
2
3
4
5
6
|
2 chunks |
+42 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_file_ref.h
|
View
|
1
2
3
4
5
6
|
7 chunks |
+63 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/file_ref.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/file_ref.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+65 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+87 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/file_ref_resource.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/file_ref_resource.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_list.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_file_io.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_file_ref.cc
|
View
|
1
2
3
4
|
8 chunks |
+51 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_public_dev_channel.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_file_ref_api.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_file_ref_thunk.cc
|
View
|
1
2
3
4
|
3 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/thunk.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 36 (0 generated)
|