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

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed)

Created:
5 years, 8 months ago by mtomasz
Modified:
5 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Declare providing extension capabilities in the manifest. Instead of mount options and runtime checks for event handlers, this CL moves those capabilities to the manifest. TEST=browser_tests: *FileSystemProvider*{Mount|Configure} BUG=None Committed: https://crrev.com/09db9160ab8676c5683383c5f39b59fe877a4e32 Cr-Commit-Position: refs/heads/master@{#328932}

Patch Set 1 #

Patch Set 2 : Fixed. #

Total comments: 18

Patch Set 3 : Fixed. #

Patch Set 4 : Fixed gn. #

Total comments: 6

Patch Set 5 : Fixed. #

Total comments: 9

Patch Set 6 : Dones. #

Patch Set 7 : Fixed. #

Patch Set 8 : Rebased. #

Patch Set 9 : Fixed tests. #

Total comments: 1

Patch Set 10 : Fixed. #

Patch Set 11 : Fixed tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -294 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc View 1 2 3 4 5 3 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc View 3 chunks +0 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.h View 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.cc View 1 2 3 4 5 6 7 6 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_info.h View 4 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc View 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +1 line, -44 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry_unittest.cc View 1 2 3 4 5 9 chunks +4 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.cc View 1 2 3 4 5 3 chunks +6 lines, -13 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_manager_private.idl View 1 2 3 4 5 3 chunks +6 lines, -20 lines 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 2 3 4 5 3 chunks +0 lines, -22 lines 0 comments Download
A chrome/common/extensions/api/file_system_provider/file_system_provider_handler.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/manifest_types.json View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_manifest_handlers.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/mount_test/test.js View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -6 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/configure/manifest.json View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/configure/test.js View 1 3 4 5 6 7 8 2 chunks +3 lines, -18 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js View 1 2 3 4 5 6 7 8 3 chunks +1 line, -5 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/mount/manifest.json View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/mount/test.js View 1 3 4 5 6 7 8 3 chunks +3 lines, -20 lines 0 comments Download
M extensions/common/manifest_constants.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M extensions/common/manifest_constants.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
mtomasz
@kalman: PTAL. Thanks.
5 years, 8 months ago (2015-04-23 16:34:17 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_manager_private.idl File chrome/common/extensions/api/file_manager_private.idl (right): https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_manager_private.idl#newcode178 chrome/common/extensions/api/file_manager_private.idl:178: enum Source { file, device, network }; When https://codereview.chromium.org/1100333006/ ...
5 years, 8 months ago (2015-04-23 23:16:35 UTC) #3
mtomasz
https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_manager_private.idl File chrome/common/extensions/api/file_manager_private.idl (right): https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_manager_private.idl#newcode178 chrome/common/extensions/api/file_manager_private.idl:178: enum Source { file, device, network }; On 2015/04/23 ...
5 years, 8 months ago (2015-04-24 12:16:11 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode68 chrome/common/extensions/api/file_system_provider.idl:68: boolean multiple_mounts; On 2015/04/24 12:16:11, mtomasz wrote: > On ...
5 years, 8 months ago (2015-04-24 16:18:32 UTC) #5
mtomasz
https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1077823005/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode68 chrome/common/extensions/api/file_system_provider.idl:68: boolean multiple_mounts; On 2015/04/24 16:18:32, kalman wrote: > On ...
5 years, 8 months ago (2015-04-24 17:12:10 UTC) #6
not at google - send to devlin
sorry yes, I didn't read carefully enough that you were already doing that. lgtm but ...
5 years, 8 months ago (2015-04-24 17:49:31 UTC) #7
mtomasz
https://codereview.chromium.org/1077823005/diff/80001/chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc File chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc (right): https://codereview.chromium.org/1077823005/diff/80001/chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc#newcode60 chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc:60: &idl_capabilities)) { On 2015/04/24 17:49:31, kalman wrote: > Btw, ...
5 years, 8 months ago (2015-04-24 17:54:01 UTC) #8
mtomasz
https://codereview.chromium.org/1077823005/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc File chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc (right): https://codereview.chromium.org/1077823005/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc#newcode496 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc:496: switch (info.capabilities.source()) { On 2015/04/24 17:49:30, kalman wrote: > ...
5 years, 7 months ago (2015-05-07 03:33:59 UTC) #9
mtomasz
@kalman: Done. PTAL one more time, as there is quite a lot of changes.
5 years, 7 months ago (2015-05-07 11:25:26 UTC) #10
not at google - send to devlin
lgtm https://codereview.chromium.org/1077823005/diff/160001/chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc File chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc (right): https://codereview.chromium.org/1077823005/diff/160001/chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc#newcode51 chrome/common/extensions/api/file_system_provider/file_system_provider_handler.cc:51: const base::DictionaryValue* section = NULL; You should just ...
5 years, 7 months ago (2015-05-07 22:57:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1077823005/180001
5 years, 7 months ago (2015-05-08 01:22:46 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/15655)
5 years, 7 months ago (2015-05-08 02:26:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1077823005/200001
5 years, 7 months ago (2015-05-08 04:17:05 UTC) #19
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 7 months ago (2015-05-08 05:48:18 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-08 05:49:06 UTC) #21
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/09db9160ab8676c5683383c5f39b59fe877a4e32
Cr-Commit-Position: refs/heads/master@{#328932}

Powered by Google App Engine
This is Rietveld 408576698