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

Issue 131403004: [Retry] PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation (Closed)

Created:
6 years, 11 months ago by nhiroki
Modified:
6 years, 11 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, yzshen+watch_chromium.org, joi+watch-content_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, binji, ihf+watch_chromium.org, Yusuke Sato, hidehiko
Visibility:
Public.

Description

[Retry] PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation Original Review: https://codereview.chromium.org/113363004/ 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 TBR=dmichael@chromium.org,yzshen@chromium.org,tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244148

Patch Set 1 : original #

Patch Set 2 : fix nacl sdk #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -126 lines) Patch
M chrome/browser/component_updater/ppapi_utils.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_ref_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_ref_host.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/pepper/plugin_module.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M native_client_sdk/src/doc/devguide/coding/file-io.rst View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/examples/api/file_io/file_io.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.h View 1 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/api/ppb_file_ref.idl View 2 chunks +42 lines, -1 line 0 comments Download
M ppapi/c/ppb_file_ref.h View 7 chunks +63 lines, -15 lines 0 comments Download
M ppapi/cpp/file_ref.h View 1 chunk +9 lines, -19 lines 0 comments Download
M ppapi/cpp/file_ref.cc View 12 chunks +65 lines, -26 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 5 chunks +87 lines, -0 lines 0 comments Download
M ppapi/proxy/file_ref_resource.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/proxy/file_ref_resource.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/test_file_io.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/tests/test_file_ref.cc View 8 chunks +51 lines, -26 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev_channel.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_file_ref_api.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/thunk/ppb_file_ref_thunk.cc View 3 chunks +34 lines, -2 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
nhiroki
Hi binji@, Can you review native_client_sdk/* ? Other parts got owner stamps in the original ...
6 years, 11 months ago (2014-01-09 16:39:31 UTC) #1
binji
native_client_sdk lgtm, thanks!
6 years, 11 months ago (2014-01-09 18:28:12 UTC) #2
nhiroki
TBRing to original reviewers (dmichael@, yzshen@ and tsepez@). There is no difference from the original ...
6 years, 11 months ago (2014-01-10 00:38:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/131403004/40024
6 years, 11 months ago (2014-01-10 00:44:55 UTC) #4
commit-bot: I haz the power
Failed to apply patch for ppapi/thunk/interfaces_ppb_public_dev_channel.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-10 03:36:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/131403004/310001
6 years, 11 months ago (2014-01-10 03:46:13 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=244622
6 years, 11 months ago (2014-01-10 08:00:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/131403004/310001
6 years, 11 months ago (2014-01-10 08:06:40 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 11:34:16 UTC) #9
Message was sent while issue was closed.
Change committed as 244148

Powered by Google App Engine
This is Rietveld 408576698