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

Issue 2685453002: Move file_handlers API from //chrome to //extensions (Closed)

Created:
3 years, 10 months ago by michaelpg
Modified:
3 years, 10 months ago
Reviewers:
*mtomasz, *benwells, *tzik
CC:
chromium-reviews, extensions-reviews_chromium.org, tzik, tfarina, yamaguchi+watch_chromium.org, oka+watch_chromium.org, nhiroki, rginda+watch_chromium.org, oshima+watch_chromium.org, fukino+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org, Rahul Chaturvedi
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move file_handlers API from //chrome to //extensions Largely mechanical CL via move_source_file.py, subbing some Profile usage for BrowserContext. Results in removing some DEPS exceptions and #includes from //apps. BUG=679870 Review-Url: https://codereview.chromium.org/2685453002 Cr-Original-Commit-Position: refs/heads/master@{#449460} Committed: https://chromium.googlesource.com/chromium/src/+/10d5e4e8430e41ca148452f2f8582db517846799 Review-Url: https://codereview.chromium.org/2685453002 Cr-Commit-Position: refs/heads/master@{#450144} Committed: https://chromium.googlesource.com/chromium/src/+/bc6e379f8e228ee5a137e2ee3ff89b973a3494ef

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Patch Set 3 : revert file_system_api.h dependency #

Patch Set 4 : ExtensionsAPIClient in unittest #

Patch Set 5 : size_t/int conflict #

Patch Set 6 : fix BUILD.gn deps #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -1329 lines) Patch
M apps/DEPS View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M apps/launcher.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/file_manager/file_tasks.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/file_tasks.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/open_util.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/fileapi/external_file_url_request_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 2 chunks +1 line, -1 line 0 comments Download
D chrome/browser/extensions/api/file_handlers/api_file_handler_util_unittest.cc View 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/app_file_handler_util.h View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc View 1 chunk +0 lines, -361 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/directory_util.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/directory_util.cc View 1 chunk +0 lines, -110 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/directory_util_unittest.cc View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/mime_util.h View 1 chunk +0 lines, -78 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/mime_util.cc View 1 chunk +0 lines, -228 lines 0 comments Download
D chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc View 1 chunk +0 lines, -149 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A extensions/browser/api/file_handlers/BUILD.gn View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A extensions/browser/api/file_handlers/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A + extensions/browser/api/file_handlers/app_file_handler_util.h View 6 chunks +10 lines, -7 lines 0 comments Download
A + extensions/browser/api/file_handlers/app_file_handler_util.cc View 1 2 3 4 7 chunks +13 lines, -15 lines 0 comments Download
A + extensions/browser/api/file_handlers/app_file_handler_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + extensions/browser/api/file_handlers/directory_util.h View 5 chunks +8 lines, -6 lines 0 comments Download
A + extensions/browser/api/file_handlers/directory_util.cc View 4 chunks +8 lines, -8 lines 0 comments Download
A + extensions/browser/api/file_handlers/directory_util_unittest.cc View 1 2 3 4 chunks +6 lines, -4 lines 0 comments Download
A + extensions/browser/api/file_handlers/mime_util.h View 6 chunks +9 lines, -7 lines 0 comments Download
A + extensions/browser/api/file_handlers/mime_util.cc View 1 2 3 4 6 chunks +22 lines, -38 lines 0 comments Download
A + extensions/browser/api/file_handlers/mime_util_unittest.cc View 7 chunks +17 lines, -20 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
michaelpg
PTAL. mtomasz: chrome/browser/chromeos/extensions/file_manager/ chrome/browser/chromeos/file_manager/ chrome/browser/chromeos/fileapi/external_file_url_request_job.cc chrome/browser/extensions/api/file_system/file_system_api.cc tzik: OWNER permission to target storage/common/fileapi same for storage/browser/fileapi ...
3 years, 10 months ago (2017-02-07 01:20:37 UTC) #3
mtomasz
lgtm for my partk
3 years, 10 months ago (2017-02-07 01:41:35 UTC) #4
tzik
lgtm
3 years, 10 months ago (2017-02-07 06:32:21 UTC) #5
benwells
nice! lgtm https://codereview.chromium.org/2685453002/diff/1/extensions/browser/api/file_handlers/app_file_handler_util.h File extensions/browser/api/file_handlers/app_file_handler_util.h (right): https://codereview.chromium.org/2685453002/diff/1/extensions/browser/api/file_handlers/app_file_handler_util.h#newcode27 extensions/browser/api/file_handlers/app_file_handler_util.h:27: // TODO(michaelpg,benwells): move this to an app-specific ...
3 years, 10 months ago (2017-02-07 07:20:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685453002/20001
3 years, 10 months ago (2017-02-07 23:48:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/385625)
3 years, 10 months ago (2017-02-08 00:34:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685453002/40001
3 years, 10 months ago (2017-02-08 20:54:34 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/317900)
3 years, 10 months ago (2017-02-08 21:35:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685453002/60001
3 years, 10 months ago (2017-02-08 23:54:20 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/362944)
3 years, 10 months ago (2017-02-09 01:07:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685453002/80001
3 years, 10 months ago (2017-02-09 22:11:17 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/10d5e4e8430e41ca148452f2f8582db517846799
3 years, 10 months ago (2017-02-09 23:24:30 UTC) #29
Bret
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2685883008/ by bsep@chromium.org. ...
3 years, 10 months ago (2017-02-09 23:41:22 UTC) #30
michaelpg
On 2017/02/09 23:41:22, Bret Sepulveda wrote: > A revert of this CL (patchset #5 id:80001) ...
3 years, 10 months ago (2017-02-10 00:10:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685453002/140001
3 years, 10 months ago (2017-02-13 21:38:52 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 23:18:11 UTC) #42
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/bc6e379f8e228ee5a137e2ee3ff8...

Powered by Google App Engine
This is Rietveld 408576698