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

Issue 44553002: Enabling Commands API for Apps (Closed)

Created:
7 years, 1 month ago by Finnur
Modified:
7 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Enabling Commands API for Apps (on dev) BUG=302437 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233310

Patch Set 1 #

Patch Set 2 : Fix CHECK #

Patch Set 3 : Disable .global on stable #

Total comments: 6

Patch Set 4 : Add test #

Patch Set 5 : Polish #

Patch Set 6 : Fix test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -12 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 1 chunk +18 lines, -10 lines 0 comments Download
M chrome/common/extensions/api/commands/commands_manifest_unittest.cc View 1 2 3 4 5 2 chunks +39 lines, -0 lines 0 comments Download
M chrome/common/extensions/command.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 1 comment Download
A chrome/test/data/extensions/manifest_tests/command_app.json View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/command_app_global.json View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/command_ext.json View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/command_ext_global.json View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Finnur
7 years, 1 month ago (2013-10-25 15:37:32 UTC) #1
Yoyo Zhou
I talked to kalman about this. It looks like there are certain assumptions in ComplexFeature ...
7 years, 1 month ago (2013-10-25 21:28:07 UTC) #2
Finnur
Are you saying the CHECK is wrong and a CL for augmenting it is on ...
7 years, 1 month ago (2013-10-26 18:05:22 UTC) #3
Finnur
Update, I think I got it to work (see _manifest_features.json).
7 years, 1 month ago (2013-10-28 13:43:24 UTC) #4
Finnur
No, wait. Upon further review I think this isn't quite what I want.
7 years, 1 month ago (2013-10-28 13:44:46 UTC) #5
Finnur
OK, now I think I've got it correctly (patch set 3) as this seems to ...
7 years, 1 month ago (2013-10-28 14:03:47 UTC) #6
Finnur
On 2013/10/28 14:03:47, Finnur wrote: > OK, now I think I've got it correctly (patch ...
7 years, 1 month ago (2013-10-28 14:04:12 UTC) #7
not at google - send to devlin
I'd feel better about this if there were a test for having different extension types ...
7 years, 1 month ago (2013-10-28 16:17:21 UTC) #8
Finnur
> I'd feel better about this if there were a test for > having different ...
7 years, 1 month ago (2013-10-28 16:34:23 UTC) #9
not at google - send to devlin
You can fake the channel with: https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/extensions/features/feature_channel.h&q=feature_channel.h&sq=package:chromium&type=cs&l=24 https://codereview.chromium.org/44553002/diff/130001/chrome/common/extensions/api/_manifest_features.json File chrome/common/extensions/api/_manifest_features.json (right): https://codereview.chromium.org/44553002/diff/130001/chrome/common/extensions/api/_manifest_features.json#newcode85 chrome/common/extensions/api/_manifest_features.json:85: "extension_types": ["extension", ...
7 years, 1 month ago (2013-10-28 16:41:32 UTC) #10
Finnur
On 2013/10/28 16:41:32, kalman wrote: > You can fake the channel with: > > https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/extensions/features/feature_channel.h&q=feature_channel.h&sq=package:chromium&type=cs&l=24 ...
7 years, 1 month ago (2013-10-28 16:52:40 UTC) #11
not at google - send to devlin
On 2013/10/28 16:52:40, Finnur wrote: > On 2013/10/28 16:41:32, kalman wrote: > > You can ...
7 years, 1 month ago (2013-10-28 16:54:40 UTC) #12
not at google - send to devlin
+justinlin FYI :)
7 years, 1 month ago (2013-10-28 16:54:55 UTC) #13
justinlin
Filed for the CHECK problem: https://crbug.com/312385
7 years, 1 month ago (2013-10-28 19:30:55 UTC) #14
Finnur
I've been banging my head against the rock today, trying to debug why the tests ...
7 years, 1 month ago (2013-10-29 16:29:14 UTC) #15
Finnur
@justinlin: > The intent of what I'm trying to do with _manifest_features.json is documented in ...
7 years, 1 month ago (2013-10-29 16:31:46 UTC) #16
justinlin
Sure, happy to try help. The manifest.json looks fine to me (although nit: I would ...
7 years, 1 month ago (2013-10-29 17:39:55 UTC) #17
Finnur
Thanks a lot for your input, Justin. Yup, LoadAndExpectWarning is exactly what I was looking ...
7 years, 1 month ago (2013-10-30 13:58:21 UTC) #18
Yoyo Zhou
On 2013/10/30 13:58:21, Finnur wrote: > Thanks a lot for your input, Justin. > > ...
7 years, 1 month ago (2013-10-30 14:58:10 UTC) #19
not at google - send to devlin
On 2013/10/30 14:58:10, Yoyo Zhou wrote: > On 2013/10/30 13:58:21, Finnur wrote: > > Thanks ...
7 years, 1 month ago (2013-10-30 16:51:35 UTC) #20
Yoyo Zhou
https://codereview.chromium.org/44553002/diff/410001/chrome/common/extensions/command.cc File chrome/common/extensions/command.cc (right): https://codereview.chromium.org/44553002/diff/410001/chrome/common/extensions/command.cc#newcode442 chrome/common/extensions/command.cc:442: chrome::VersionInfo::GetChannel() <= chrome::VersionInfo::CHANNEL_DEV) This channel check should not be ...
7 years, 1 month ago (2013-10-30 17:02:48 UTC) #21
Finnur
I don't think that will work. Bear in mind that a Command can have no ...
7 years, 1 month ago (2013-10-31 13:46:33 UTC) #22
Finnur
Yoyo? What do you think? Good as is?
7 years, 1 month ago (2013-11-05 11:00:54 UTC) #23
Yoyo Zhou
On 2013/11/05 11:00:54, Finnur wrote: > Yoyo? > > What do you think? Good as ...
7 years, 1 month ago (2013-11-05 20:09:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/finnur@chromium.org/44553002/410001
7 years, 1 month ago (2013-11-06 10:12:57 UTC) #25
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=98533
7 years, 1 month ago (2013-11-06 12:47:36 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/finnur@chromium.org/44553002/410001
7 years, 1 month ago (2013-11-06 13:08:55 UTC) #27
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=98587
7 years, 1 month ago (2013-11-06 16:05:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/finnur@chromium.org/44553002/410001
7 years, 1 month ago (2013-11-06 16:10:14 UTC) #29
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 18:50:18 UTC) #30
Message was sent while issue was closed.
Change committed as 233310

Powered by Google App Engine
This is Rietveld 408576698