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

Issue 8429023: Add platform_app flag to manifest. (Closed)

Created:
9 years, 1 month ago by miket_OOO
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add platform_app flag to manifest. Enforce constraint that a platform app must declare a panel as its launch container. BUG=none TEST=unit tests added. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108885 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108936

Patch Set 1 : Initial #

Patch Set 2 : Didn't read comment. "explicit" is back. #

Patch Set 3 : Protect with experimental flag. #

Total comments: 6

Patch Set 4 : Changes from review. Refactored CommandLine tweaks. #

Total comments: 2

Patch Set 5 : Merge conflict resolution. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -27 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifests_unittest.cc View 1 2 3 4 10 chunks +21 lines, -22 lines 0 comments Download
A chrome/test/base/scoped_command_line_override.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/test/base/scoped_command_line_override.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/init_valid_platform_app.json View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/launch_container_invalid_type_for_platform.json View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
miket_OOO
I think that the histogram functionality doesn't need me to do anything explicit if I'm ...
9 years, 1 month ago (2011-10-31 22:28:15 UTC) #1
Aaron Boodman
This needs to be protected by the experimental permission so that we don't end up ...
9 years, 1 month ago (2011-11-01 01:00:05 UTC) #2
miket_OOO
On 2011/11/01 01:00:05, Aaron Boodman wrote: > This needs to be protected by the experimental ...
9 years, 1 month ago (2011-11-01 17:00:46 UTC) #3
miket_OOO
Updated reviewer to aa. Aaron, can you approve?
9 years, 1 month ago (2011-11-03 15:38:22 UTC) #4
Mihai Parparita -not on Chrome
Aaron's on vacation today, so you're stuck with me as the reviewer. http://codereview.chromium.org/8429023/diff/7001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc ...
9 years, 1 month ago (2011-11-03 21:37:12 UTC) #5
Aaron Boodman
Muah, you can't escape me. http://codereview.chromium.org/8429023/diff/7001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/8429023/diff/7001/chrome/browser/about_flags.cc#newcode446 chrome/browser/about_flags.cc:446: { Keep in mind ...
9 years, 1 month ago (2011-11-04 05:45:16 UTC) #6
miket_OOO
OK, changes made.
9 years, 1 month ago (2011-11-04 22:39:21 UTC) #7
miket_OOO
Please re-review, both of you. I added a new test helper class; let me know ...
9 years, 1 month ago (2011-11-04 22:39:45 UTC) #8
Aaron Boodman
lgtm http://codereview.chromium.org/8429023/diff/15001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8429023/diff/15001/chrome/common/extensions/extension.cc#newcode1523 chrome/common/extensions/extension.cc:1523: if (launch_container() != extension_misc::LAUNCH_PANEL) { Nit: why not ...
9 years, 1 month ago (2011-11-05 16:10:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/8429023/15001
9 years, 1 month ago (2011-11-07 17:07:45 UTC) #10
miket_OOO
http://codereview.chromium.org/8429023/diff/15001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8429023/diff/15001/chrome/common/extensions/extension.cc#newcode1523 chrome/common/extensions/extension.cc:1523: if (launch_container() != extension_misc::LAUNCH_PANEL) { On 2011/11/05 16:10:21, Aaron ...
9 years, 1 month ago (2011-11-07 17:07:46 UTC) #11
commit-bot: I haz the power
Can't apply patch for file chrome/chrome_tests.gypi. While running patch -p1 --forward --force; patching file chrome/chrome_tests.gypi ...
9 years, 1 month ago (2011-11-07 17:07:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/8429023/25014
9 years, 1 month ago (2011-11-07 17:31:37 UTC) #13
commit-bot: I haz the power
Change committed as 108885
9 years, 1 month ago (2011-11-07 18:39:19 UTC) #14
miket_OOO
Reverted because of an apparently spurious link failure on Windows. Ran trybots, now trying again.
9 years, 1 month ago (2011-11-07 21:19:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/8429023/25014
9 years, 1 month ago (2011-11-07 21:19:50 UTC) #16
commit-bot: I haz the power
9 years, 1 month ago (2011-11-07 23:33:20 UTC) #17
Change committed as 108936

Powered by Google App Engine
This is Rietveld 408576698