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

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed)

Created:
6 years, 8 months ago by Yoyo Zhou
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, James Cook
Visibility:
Public.

Description

Split feature definitions into extensions and chrome features. Features defined in _*_features.json are split into chrome/common/extensions/api and extensions/common/api, according to where those features are implemented. This also creates extensions_resources.pak. With support for more than one features source, we can eliminate the AppShell dependency on Chrome features. BUG=339301 TBR=sergeyberezin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266634

Patch Set 1 #

Patch Set 2 : + #

Total comments: 7

Patch Set 3 : appserver, etc. #

Total comments: 1

Patch Set 4 : minor #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : kalman #

Patch Set 7 : 2 #

Patch Set 8 : 3 #

Patch Set 9 : 3 #

Patch Set 10 : fix tests #

Patch Set 11 : rebase #

Patch Set 12 : repack2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -352 lines) Patch
M apps/shell/DEPS View 1 1 chunk +5 lines, -0 lines 0 comments Download
M apps/shell/app_shell.gyp View 1 4 chunks +4 lines, -0 lines 0 comments Download
M apps/shell/common/shell_extensions_client.h View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M apps/shell/common/shell_extensions_client.cc View 1 2 3 4 5 6 7 8 9 4 chunks +36 lines, -6 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_repack_resources.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/common_resources.grd View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -32 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 4 5 6 7 8 9 10 9 chunks +3 lines, -110 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -45 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.cc View 1 2 3 4 5 6 7 8 9 4 chunks +46 lines, -16 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/extensions_paths.py View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/features_bundle.py View 1 2 3 4 5 3 chunks +18 lines, -8 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 5 chunks +7 lines, -5 lines 0 comments Download
A extensions/common/api/_api_features.json View 1 chunk +43 lines, -0 lines 0 comments Download
A extensions/common/api/_manifest_features.json View 1 1 chunk +118 lines, -0 lines 0 comments Download
A extensions/common/api/_permission_features.json View 1 chunk +57 lines, -0 lines 0 comments Download
M extensions/common/extensions_client.h View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M extensions/common/features/base_feature_provider.h View 1 chunk +0 lines, -3 lines 0 comments Download
M extensions/common/features/base_feature_provider.cc View 3 chunks +2 lines, -77 lines 0 comments Download
M extensions/common/features/base_feature_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +20 lines, -12 lines 0 comments Download
M extensions/common/features/feature_provider.cc View 1 2 6 1 chunk +38 lines, -1 line 0 comments Download
A extensions/common/features/json_feature_provider_source.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A extensions/common/features/json_feature_provider_source.cc View 1 1 chunk +54 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A extensions/extensions_resources.grd View 1 1 chunk +16 lines, -0 lines 0 comments Download
A + extensions/extensions_resources.gyp View 1 2 3 4 5 6 7 1 chunk +10 lines, -7 lines 0 comments Download
M extensions/test/test_extensions_client.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M extensions/test/test_extensions_client.cc View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 49 (0 generated)
Yoyo Zhou
https://chromiumcodereview.appspot.com/246423002/diff/20001/chrome/chrome_repack_resources.gypi File chrome/chrome_repack_resources.gypi (right): https://chromiumcodereview.appspot.com/246423002/diff/20001/chrome/chrome_repack_resources.gypi#newcode33 chrome/chrome_repack_resources.gypi:33: # New paks should be added here by default. ...
6 years, 8 months ago (2014-04-22 21:09:54 UTC) #1
not at google - send to devlin
lg, but you're going to need to make the docserver work. ken is the expert ...
6 years, 8 months ago (2014-04-22 21:39:09 UTC) #2
Ken Rockot(use gerrit already)
On 2014/04/22 21:39:09, kalman wrote: > lg, but you're going to need to make the ...
6 years, 8 months ago (2014-04-22 21:47:13 UTC) #3
Yoyo Zhou
Made changes to the docserver. It looks good when I run preview.py locally. https://chromiumcodereview.appspot.com/246423002/diff/20001/apps/shell/common/shell_extensions_client.cc File ...
6 years, 8 months ago (2014-04-22 23:17:40 UTC) #4
Ken Rockot(use gerrit already)
LGTM https://chromiumcodereview.appspot.com/246423002/diff/40001/chrome/common/extensions/docs/server2/features_bundle.py File chrome/common/extensions/docs/server2/features_bundle.py (right): https://chromiumcodereview.appspot.com/246423002/diff/40001/chrome/common/extensions/docs/server2/features_bundle.py#newcode19 chrome/common/extensions/docs/server2/features_bundle.py:19: posixpath.join(EXTENSIONS_API, feature_file)] nit: It would be nice if ...
6 years, 8 months ago (2014-04-22 23:23:16 UTC) #5
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-23 00:12:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/60001
6 years, 8 months ago (2014-04-23 00:12:28 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 00:13:08 UTC) #8
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/server2/app.yaml: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-23 00:13:09 UTC) #9
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/246423002/diff/20001/apps/shell/common/shell_extensions_client.cc File apps/shell/common/shell_extensions_client.cc (right): https://chromiumcodereview.appspot.com/246423002/diff/20001/apps/shell/common/shell_extensions_client.cc#newcode130 apps/shell/common/shell_extensions_client.cc:130: extensions::FeatureProvider* ShellExtensionsClient::CreateFeatureProvider( On 2014/04/22 23:17:40, Yoyo Zhou wrote: ...
6 years, 8 months ago (2014-04-23 01:22:32 UTC) #10
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 16:11:09 UTC) #11
Yoyo Zhou
The CQ bit was unchecked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 16:11:12 UTC) #12
Yoyo Zhou
https://chromiumcodereview.appspot.com/246423002/diff/20001/apps/shell/common/shell_extensions_client.cc File apps/shell/common/shell_extensions_client.cc (right): https://chromiumcodereview.appspot.com/246423002/diff/20001/apps/shell/common/shell_extensions_client.cc#newcode130 apps/shell/common/shell_extensions_client.cc:130: extensions::FeatureProvider* ShellExtensionsClient::CreateFeatureProvider( On 2014/04/23 01:22:32, kalman wrote: > On ...
6 years, 8 months ago (2014-04-24 16:34:50 UTC) #13
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 16:34:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/90002
6 years, 8 months ago (2014-04-24 16:35:25 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 16:53:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 8 months ago (2014-04-24 16:53:10 UTC) #17
Yoyo Zhou
thakis: can you review resources changes? You're needed as an OWNER on common_resources.grd but I'd ...
6 years, 8 months ago (2014-04-24 18:59:41 UTC) #18
Nico
grd and gyp lgtm (I prefer having fewer grd files, but for a toplevel directory ...
6 years, 8 months ago (2014-04-24 19:02:21 UTC) #19
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 19:33:42 UTC) #20
Yoyo Zhou
The CQ bit was unchecked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 19:49:53 UTC) #21
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-24 20:21:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/160001
6 years, 8 months ago (2014-04-24 21:12:32 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 22:49:00 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-24 22:49:01 UTC) #25
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-25 15:37:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/160001
6 years, 8 months ago (2014-04-25 21:42:10 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 23:19:36 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-25 23:19:37 UTC) #29
Yoyo Zhou
Grr, this is complaining about a missing owner. TBRing pgervais who is looking into this.
6 years, 8 months ago (2014-04-26 14:03:09 UTC) #30
Yoyo Zhou
On 2014/04/26 14:03:09, Yoyo Zhou wrote: > Grr, this is complaining about a missing owner. ...
6 years, 8 months ago (2014-04-26 14:03:30 UTC) #31
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 8 months ago (2014-04-26 14:03:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/160001
6 years, 8 months ago (2014-04-26 14:04:12 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 19:19:23 UTC) #34
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 7 months ago (2014-04-28 04:07:51 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/160001
6 years, 7 months ago (2014-04-28 04:09:17 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 09:03:45 UTC) #38
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=176349
6 years, 7 months ago (2014-04-28 09:03:46 UTC) #39
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 7 months ago (2014-04-28 12:09:13 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/160001
6 years, 7 months ago (2014-04-28 12:09:38 UTC) #41
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 7 months ago (2014-04-28 15:19:18 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/180001
6 years, 7 months ago (2014-04-28 15:19:57 UTC) #43
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:48:18 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:48:19 UTC) #45
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 7 months ago (2014-04-28 17:03:29 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/246423002/200001
6 years, 7 months ago (2014-04-28 17:04:52 UTC) #47
Yoyo Zhou
The spurious OWNERS failure is https://code.google.com/p/chromium/issues/detail?id=366489 - I've TBRed sergeyberezin.
6 years, 7 months ago (2014-04-28 17:36:31 UTC) #48
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 19:49:33 UTC) #49
Message was sent while issue was closed.
Change committed as 266634

Powered by Google App Engine
This is Rietveld 408576698