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

Issue 260943002: [fsp] Extract common code to FileSystemProvidedInternalFunction. (Closed)

Created:
6 years, 7 months ago by mtomasz
Modified:
6 years, 7 months ago
Reviewers:
benwells, hashimoto
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[fsp] Extract common code to FileSystemProvidedInternalFunction. Since more internal functions are coming soon, and they are mostly the same, a base class has been extracted to reuse the code. TBR=benwells@chromium.org TEST=Refactoring only. Covered by current tests. BUG=248427 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267896

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 20

Patch Set 3 : Simplified + addressed comments. #

Total comments: 14

Patch Set 4 : Fixed. #

Total comments: 5

Patch Set 5 : Addressed a comment. #

Patch Set 6 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -208 lines) Patch
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h View 1 5 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc View 1 2 3 chunks +7 lines, -199 lines 0 comments Download
A chrome/browser/chromeos/extensions/file_system_provider/provider_function.h View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc View 1 2 3 4 1 chunk +142 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
mtomasz
@hashimoto: PTAL. Thanks.
6 years, 7 months ago (2014-05-01 01:08:04 UTC) #1
hashimoto
Sorry for being late to response. Seems something went wrong during the last rebase? https://codereview.chromium.org/260943002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc ...
6 years, 7 months ago (2014-05-01 09:20:11 UTC) #2
mtomasz
https://codereview.chromium.org/260943002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode73 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:73: NOTREACHED(); On 2014/05/01 09:20:12, hashimoto wrote: > nit: How ...
6 years, 7 months ago (2014-05-02 01:26:22 UTC) #3
hashimoto
https://codereview.chromium.org/260943002/diff/40001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/40001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode102 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:102: SendResponse(RunSync()); Seems RunSync always returns true. Isn't it necessary ...
6 years, 7 months ago (2014-05-02 05:56:18 UTC) #4
mtomasz
https://codereview.chromium.org/260943002/diff/40001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/40001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode102 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:102: SendResponse(RunSync()); On 2014/05/02 05:56:18, hashimoto wrote: > Seems RunSync ...
6 years, 7 months ago (2014-05-02 06:29:15 UTC) #5
hashimoto
lgtm https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode107 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:107: int file_system_id; nit: Please don't leave this uninitialized. ...
6 years, 7 months ago (2014-05-02 08:10:11 UTC) #6
mtomasz
https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode107 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:107: int file_system_id; On 2014/05/02 08:10:11, hashimoto wrote: > nit: ...
6 years, 7 months ago (2014-05-02 08:14:44 UTC) #7
hashimoto
https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc File chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc (right): https://codereview.chromium.org/260943002/diff/60001/chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc#newcode109 chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc:109: if (!args_->GetInteger(0, &file_system_id) || On 2014/05/02 08:14:44, mtomasz wrote: ...
6 years, 7 months ago (2014-05-02 08:25:46 UTC) #8
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 7 months ago (2014-05-02 12:11:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/260943002/80001
6 years, 7 months ago (2014-05-02 12:12:16 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 12:12:31 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-02 12:12:31 UTC) #12
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 7 months ago (2014-05-02 13:56:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/260943002/100001
6 years, 7 months ago (2014-05-02 13:56:34 UTC) #14
mtomasz
The CQ bit was unchecked by mtomasz@chromium.org
6 years, 7 months ago (2014-05-02 14:16:06 UTC) #15
mtomasz
On 2014/05/02 13:56:34, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 7 months ago (2014-05-02 14:16:17 UTC) #16
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 7 months ago (2014-05-02 14:16:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/260943002/100001
6 years, 7 months ago (2014-05-02 14:16:46 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-02 19:37:14 UTC) #19
Message was sent while issue was closed.
Change committed as 267896

Powered by Google App Engine
This is Rietveld 408576698