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

Issue 10600013: Wired support for file truncating with RemoteFileSystemOperation::OpenFile() method (case when base… (Closed)

Created:
8 years, 6 months ago by zel
Modified:
8 years, 5 months ago
Reviewers:
kinaba
CC:
chromium-reviews, nkostylev+watch_chromium.org, achuith+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Wired support for file truncating and opening in R/W mode to RemoteFileSystemOperation::OpenFile() method. BUG=133879 TEST=coming... Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147266

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 5

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : wired create flag handling #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -57 lines) Patch
M chrome/browser/chromeos/extensions/file_browser_handler_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_handler_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 9 chunks +143 lines, -24 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/filehandler_create/test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +8 lines, -1 line 0 comments Download
M webkit/chromeos/fileapi/remote_file_system_operation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -10 lines 0 comments Download
M webkit/chromeos/fileapi/remote_file_system_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
zel
Please review GData layer only (open+truncate part), I will remove file close notification business once ...
8 years, 6 months ago (2012-06-27 00:37:38 UTC) #1
kinaba
http://codereview.chromium.org/10600013/diff/9020/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc File chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc (right): http://codereview.chromium.org/10600013/diff/9020/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc#newcode125 chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc:125: void OpenAndTruncateOnIOPool( I think we can simply use OpenPlatformFileOnIOPool() ...
8 years, 5 months ago (2012-06-27 09:17:21 UTC) #2
zel
http://codereview.chromium.org/10600013/diff/9020/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc File chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc (right): http://codereview.chromium.org/10600013/diff/9020/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc#newcode125 chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc:125: void OpenAndTruncateOnIOPool( On 2012/06/27 09:17:21, kinaba wrote: > I ...
8 years, 5 months ago (2012-06-27 22:20:45 UTC) #3
kinaba
Mostly looking good. http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc File chrome/browser/chromeos/extensions/file_browser_handler_api.cc (left): http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc#oldcode237 chrome/browser/chromeos/extensions/file_browser_handler_api.cc:237: success = DoCreateFile(); (Not sure if ...
8 years, 5 months ago (2012-06-28 05:52:33 UTC) #4
zel
http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc File chrome/browser/chromeos/extensions/file_browser_handler_api.cc (left): http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc#oldcode237 chrome/browser/chromeos/extensions/file_browser_handler_api.cc:237: success = DoCreateFile(); On 2012/06/28 05:52:34, kinaba wrote: > ...
8 years, 5 months ago (2012-06-28 17:50:45 UTC) #5
kinaba
LGTM for GDataFileSystem part, with a comment. http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc File chrome/browser/chromeos/extensions/file_browser_handler_api.cc (left): http://codereview.chromium.org/10600013/diff/23021/chrome/browser/chromeos/extensions/file_browser_handler_api.cc#oldcode237 chrome/browser/chromeos/extensions/file_browser_handler_api.cc:237: success = ...
8 years, 5 months ago (2012-06-29 01:48:08 UTC) #6
kinaba
The close notification part has finally landed http://crrev.com/145856. Sorry for keeping you waiting so long.
8 years, 5 months ago (2012-07-10 11:33:16 UTC) #7
tbarzic
On 2012/07/10 11:33:16, kinaba wrote: > The close notification part has finally landed http://crrev.com/145856. > ...
8 years, 5 months ago (2012-07-17 22:53:48 UTC) #8
zel
On 2012/07/17 22:53:48, tbarzic wrote: > On 2012/07/10 11:33:16, kinaba wrote: > > The close ...
8 years, 5 months ago (2012-07-18 01:56:14 UTC) #9
tbarzic
On 2012/07/18 01:56:14, zel wrote: > On 2012/07/17 22:53:48, tbarzic wrote: > > On 2012/07/10 ...
8 years, 5 months ago (2012-07-18 01:57:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/10600013/46002
8 years, 5 months ago (2012-07-18 06:00:49 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-18 06:00:54 UTC) #12
Presubmit check for 10600013-46002 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Messages **
You might be calling functions intended only for testing from
production code.  It is OK to ignore this warning if you know what
you are doing, as the heuristics used to detect the situation are
not perfect.  The commit queue will not block on this warning.
Email joi@chromium.org if you have questions.
  chrome/browser/chromeos/extensions/file_browser_handler_api.cc:62
    virtual void set_function_for_test( \
  chrome/browser/chromeos/extensions/file_browser_handler_api.cc:300
    result->set_function_for_test(this);

** Presubmit ERRORS **
Missing LGTM from an OWNER for files in these directories:
    content/browser/fileapi

Presubmit checks took 1.1s to calculate.

Powered by Google App Engine
This is Rietveld 408576698