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

Issue 196663003: Introduce an extension parameter which is used to customize the extension. It's available for exter… (Closed)

Created:
6 years, 9 months ago by vasilii
Modified:
6 years, 9 months ago
Reviewers:
Finnur, Yoyo Zhou, battre
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, vandebo (ex-Chrome), Lei Zhang, Greg Billock, tommycli, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, battre
Visibility:
Public.

Description

Introduce an extension parameter which is used to customize the extension. It's available for external extensions on Windows by using a registry key. The installer can set this parameter per user. BUG=267510 TBR=nkostylev@chromium.org,estade@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258919

Patch Set 1 #

Total comments: 14

Patch Set 2 : addressed @finnur comments #

Total comments: 2

Patch Set 3 : Forgotten manifest #

Total comments: 2

Patch Set 4 : Merge #

Patch Set 5 : Fixed compilation #

Patch Set 6 : Modified test parameters #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -180 lines) Patch
M chrome/browser/chromeos/customization_document_unittest.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/management/management_browsertest.cc View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc View 1 2 3 7 chunks +41 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc View 1 2 3 4 5 1 chunk +16 lines, -13 lines 0 comments Download
M chrome/browser/extensions/chrome_app_sorting_unittest.cc View 8 chunks +16 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 3 chunks +35 lines, -18 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 5 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 9 chunks +23 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 12 chunks +76 lines, -32 lines 0 comments Download
M chrome/browser/extensions/external_policy_loader_unittest.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_provider_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/external_provider_impl.cc View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/extensions/external_registry_loader_win.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_info.h View 1 2 3 2 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/extensions/pending_extension_info.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 1 2 3 7 chunks +45 lines, -22 lines 0 comments Download
M chrome/browser/extensions/test_extension_prefs.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/media_galleries/media_galleries_test_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/settings_override/manifest.json View 1 2 3 4 5 1 chunk +9 lines, -9 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 5 chunks +11 lines, -3 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 6 chunks +42 lines, -6 lines 0 comments Download
M extensions/browser/external_provider_interface.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
vasilii
Hi guys, please review the CL.
6 years, 9 months ago (2014-03-12 19:23:20 UTC) #1
not at google - send to devlin
I'm OOO for the next couple of days, Yoyo would you be able to review ...
6 years, 9 months ago (2014-03-13 03:10:26 UTC) #2
Finnur
I got in late in the meeting where this was discussed, so I'm not entirely ...
6 years, 9 months ago (2014-03-13 16:37:51 UTC) #3
vasilii
The InstallParameter allows to customize extension per user. It's supposed to be used by installers ...
6 years, 9 months ago (2014-03-14 10:54:57 UTC) #4
Finnur
The bug you point to is restricted so I think it would be good to ...
6 years, 9 months ago (2014-03-14 12:11:08 UTC) #5
battre
https://codereview.chromium.org/196663003/diff/20001/chrome/test/data/extensions/settings_override/manifest.json File chrome/test/data/extensions/settings_override/manifest.json (right): https://codereview.chromium.org/196663003/diff/20001/chrome/test/data/extensions/settings_override/manifest.json#newcode22 chrome/test/data/extensions/settings_override/manifest.json:22: "http://www.noo.__MSG_url_domain__/s?q={searchTerms}&id=__PARAM__" On 2014/03/14 12:11:09, Finnur wrote: > I'm a ...
6 years, 9 months ago (2014-03-14 12:13:50 UTC) #6
Finnur
The __PARAM__ isn't what I'm worried about, but after reading your reply again I think ...
6 years, 9 months ago (2014-03-14 14:19:47 UTC) #7
vasilii
'id' isn't hardcoded. The only hardcoded placeholder is '__PARAM__'. https://codereview.chromium.org/196663003/diff/1/chrome/test/data/extensions/settings_override/manifest.json File chrome/test/data/extensions/settings_override/manifest.json (right): https://codereview.chromium.org/196663003/diff/1/chrome/test/data/extensions/settings_override/manifest.json#newcode7 chrome/test/data/extensions/settings_override/manifest.json:7: ...
6 years, 9 months ago (2014-03-14 14:30:24 UTC) #8
Finnur
LGTM
6 years, 9 months ago (2014-03-14 16:48:42 UTC) #9
vasilii
Yoyo, can you review?
6 years, 9 months ago (2014-03-14 17:13:14 UTC) #10
vasilii
Yoyo, friendly ping.
6 years, 9 months ago (2014-03-17 18:53:22 UTC) #11
Yoyo Zhou
Looks mostly okay, but is there a test that the install parameter is actually available ...
6 years, 9 months ago (2014-03-18 00:07:50 UTC) #12
vasilii
The install parameter isn't available to the extension. It's used to change the manifest only. ...
6 years, 9 months ago (2014-03-18 10:01:22 UTC) #13
vasilii
Yoyo, do you have more comments?
6 years, 9 months ago (2014-03-20 18:17:23 UTC) #14
Yoyo Zhou
LGTM, sorry for the delay.
6 years, 9 months ago (2014-03-20 18:19:39 UTC) #15
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-20 18:29:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/40001
6 years, 9 months ago (2014-03-20 18:32:51 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 18:33:18 UTC) #18
commit-bot: I haz the power
Failed to apply patch for extensions/browser/pending_extension_info.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 9 months ago (2014-03-20 18:33:19 UTC) #19
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-21 11:35:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/80001
6 years, 9 months ago (2014-03-21 11:35:44 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 12:44:33 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=285890
6 years, 9 months ago (2014-03-21 12:44:33 UTC) #23
battre
The CQ bit was checked by battre@chromium.org
6 years, 9 months ago (2014-03-21 16:50:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/80001
6 years, 9 months ago (2014-03-21 16:51:51 UTC) #25
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-21 17:01:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/100001
6 years, 9 months ago (2014-03-21 17:02:23 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 17:05:36 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-21 17:05:42 UTC) #29
battre
The CQ bit was checked by battre@chromium.org
6 years, 9 months ago (2014-03-21 17:07:23 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/100001
6 years, 9 months ago (2014-03-21 17:08:02 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 17:10:48 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-21 17:10:49 UTC) #33
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-21 17:19:54 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/100001
6 years, 9 months ago (2014-03-21 17:20:25 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 17:23:39 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-21 17:23:39 UTC) #37
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-24 09:42:51 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/100001
6 years, 9 months ago (2014-03-24 09:42:55 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-24 09:44:29 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-24 09:44:30 UTC) #41
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 9 months ago (2014-03-24 13:15:12 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/196663003/100001
6 years, 9 months ago (2014-03-24 13:15:21 UTC) #43
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 13:16:09 UTC) #44
Message was sent while issue was closed.
Change committed as 258919

Powered by Google App Engine
This is Rietveld 408576698