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

Issue 2676393002: Extensions: Only display host name for the overridden home and start-up pages. (Closed)

Created:
3 years, 10 months ago by karandeepb
Modified:
3 years, 10 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extensions: Only display host name for the overridden home and start-up pages. Currently, the full path is shown for the home and start-up settings override permissions. This makes the dialog UI look badly formatted and incomprehensible. This CL changes the dialogs to only show the host name for the overridden home and start-up pages. Existing tests are also modified. BUG=670890 TEST=On Mac(trunk only) or Windows, open https://chrome.google.com/webstore/detail/msn-homepage/ibflkkanbidceofpmolhpijgminhbmnm. Click on Add to Chrome. Ensure only the host name is shown (without the www prefix) for the new home and start-up page, on the dialog which shows up. Review-Url: https://codereview.chromium.org/2676393002 Cr-Commit-Position: refs/heads/master@{#448805} Committed: https://chromium.googlesource.com/chromium/src/+/0fdd4984f81bebc66dc2c36e4336f60328802ff9

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -22 lines) Patch
M chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc View 1 3 chunks +17 lines, -17 lines 0 comments Download
M chrome/common/extensions/permissions/settings_override_permission_unittest.cc View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
karandeepb
PTAL Devlin. We might want to change the message shown to something like "Change your ...
3 years, 10 months ago (2017-02-07 03:00:13 UTC) #8
Devlin
Nice! lgtm https://codereview.chromium.org/2676393002/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc File chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc (right): https://codereview.chromium.org/2676393002/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc#newcode106 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc:106: std::string RemoveWwwPrefix(const std::string& url) { Optional nit: ...
3 years, 10 months ago (2017-02-07 18:39:24 UTC) #9
karandeepb
https://codereview.chromium.org/2676393002/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc File chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc (right): https://codereview.chromium.org/2676393002/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc#newcode106 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc:106: std::string RemoveWwwPrefix(const std::string& url) { On 2017/02/07 18:39:24, Devlin ...
3 years, 10 months ago (2017-02-07 19:22:15 UTC) #10
karandeepb
PTAL sky@ for chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc review.
3 years, 10 months ago (2017-02-07 19:23:21 UTC) #12
sky
devlin is an owner of all this code. I'm removing myself from the review.
3 years, 10 months ago (2017-02-07 20:42:20 UTC) #14
karandeepb
On 2017/02/07 20:42:20, sky wrote: > devlin is an owner of all this code. I'm ...
3 years, 10 months ago (2017-02-07 20:56:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676393002/20001
3 years, 10 months ago (2017-02-07 20:57:52 UTC) #18
Devlin
On 2017/02/07 20:56:55, karandeepb wrote: > On 2017/02/07 20:42:20, sky wrote: > > devlin is ...
3 years, 10 months ago (2017-02-07 21:03:13 UTC) #19
karandeepb
On 2017/02/07 21:03:13, Devlin wrote: > On 2017/02/07 20:56:55, karandeepb wrote: > > On 2017/02/07 ...
3 years, 10 months ago (2017-02-07 21:05:02 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 00:05:26 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0fdd4984f81bebc66dc2c36e4336...

Powered by Google App Engine
This is Rietveld 408576698