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

Issue 10534045: Add CreateTemporaryFile to PPB_Flash_File_ModuleLocal. (Closed)

Created:
8 years, 6 months ago by yzshen1
Modified:
8 years, 6 months ago
Reviewers:
yzshen, brettw, viettrungluu
CC:
chromium-reviews
Visibility:
Public.

Description

Add CreateTemporaryFile to PPB_Flash_File_ModuleLocal. BUG=129807 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142512

Patch Set 1 #

Total comments: 4

Patch Set 2 : remove input dir path and output file name #

Total comments: 11

Patch Set 3 : changes according to Trung's suggestions; add tests. #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : Handle EINTR #

Patch Set 6 : . #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -25 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.cc View 1 2 6 chunks +66 lines, -12 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ppapi/c/private/ppb_flash_file.h View 1 2 3 4 5 6 3 chunks +41 lines, -4 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/pepper_file_messages.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_flash_proxy.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_flash_proxy.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A ppapi/tests/test_flash_file.h View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A ppapi/tests/test_flash_file.cc View 1 2 3 4 5 1 chunk +133 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private_flash.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_flash_api.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc View 1 2 chunks +33 lines, -7 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_impl.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yzshen1
Hi, Trung. Would you please take a look? Thanks!
8 years, 6 months ago (2012-06-07 18:15:45 UTC) #1
viettrungluu
https://chromiumcodereview.appspot.com/10534045/diff/1/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): https://chromiumcodereview.appspot.com/10534045/diff/1/content/browser/renderer_host/pepper_file_message_filter.cc#newcode248 content/browser/renderer_host/pepper_file_message_filter.cc:248: base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_EXCLUSIVE_READ | Why do you want exclusive ...
8 years, 6 months ago (2012-06-07 20:17:36 UTC) #2
yzshen1
Thanks, Trung! https://chromiumcodereview.appspot.com/10534045/diff/1/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): https://chromiumcodereview.appspot.com/10534045/diff/1/content/browser/renderer_host/pepper_file_message_filter.cc#newcode248 content/browser/renderer_host/pepper_file_message_filter.cc:248: base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_EXCLUSIVE_READ | I am not ...
8 years, 6 months ago (2012-06-07 21:42:06 UTC) #3
yzshen1
Hi, Trung. Please take another look. Thanks!
8 years, 6 months ago (2012-06-08 01:23:26 UTC) #4
viettrungluu
http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc#newcode250 content/browser/renderer_host/pepper_file_message_filter.cc:250: (!file_util::DirectoryExists(validated_dir_path) && Why don't we have to do any ...
8 years, 6 months ago (2012-06-11 17:31:46 UTC) #5
yzshen1
Hi, Trung. Thanks! I have also added tests. Please take a look. http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc ...
8 years, 6 months ago (2012-06-12 23:53:06 UTC) #6
viettrungluu
Sorry for the delay. LGTM with a question (I find the whole directory-creating thing very ...
8 years, 6 months ago (2012-06-13 22:46:32 UTC) #7
yzshen1
Thanks, Trung. http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc#newcode250 content/browser/renderer_host/pepper_file_message_filter.cc:250: (!file_util::DirectoryExists(validated_dir_path) && The answer is no. :P ...
8 years, 6 months ago (2012-06-14 18:25:38 UTC) #8
viettrungluu
Still LGTM. Thanks. http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): http://codereview.chromium.org/10534045/diff/3002/content/browser/renderer_host/pepper_file_message_filter.cc#newcode250 content/browser/renderer_host/pepper_file_message_filter.cc:250: (!file_util::DirectoryExists(validated_dir_path) && Probably we (by which ...
8 years, 6 months ago (2012-06-14 20:47:22 UTC) #9
yzshen
On Thu, Jun 14, 2012 at 1:47 PM, <viettrungluu@chromium.org> wrote: > Still LGTM. Thanks. > ...
8 years, 6 months ago (2012-06-14 20:48:11 UTC) #10
yzshen1
Hi, Brett. Could you please do an owner review for: content/browser/renderer_host content/renderer Thanks!
8 years, 6 months ago (2012-06-14 23:15:40 UTC) #11
brettw
8 years, 6 months ago (2012-06-15 20:31:47 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698