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

Issue 1017803003: [Icons NTP] Add path_index() to ParsedFallbackIconPath. (Closed)

Created:
5 years, 9 months ago by huangs
Modified:
5 years, 9 months ago
CC:
chromium-reviews, beaudoin, Roger McFarlane (Chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Icons NTP] Add path_index() to ParsedFallbackIconPath. Making ParsedFallbackIconPath resemble ParsedFaviconPath, to prepare it for chrome-search:// URL with <view_id>/<restricted_id> . Details: - Replacing url() with url_string(). Need to update chrome://large-icon endpoint and test to accommodate. - Adding path_index(). BUG=467712 Committed: https://crrev.com/8b3af2bbf44062156199aeec48beeb92f3e674c2 Cr-Commit-Position: refs/heads/master@{#321615}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Render default on empty path. #

Patch Set 3 : Fix unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -16 lines) Patch
M chrome/browser/ui/webui/fallback_icon_source.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser.h View 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser.cc View 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser_unittest.cc View 1 2 2 chunks +22 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
huangs
PTAL.
5 years, 9 months ago (2015-03-17 20:00:58 UTC) #2
Roger McFarlane (Chromium)
lgtm
5 years, 9 months ago (2015-03-17 20:06:49 UTC) #4
beaudoin
https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc File chrome/browser/ui/webui/fallback_icon_source.cc (right): https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc#newcode52 chrome/browser/ui/webui/fallback_icon_source.cc:52: if (!url.is_empty() && !url.is_valid()) { A short comment like: ...
5 years, 9 months ago (2015-03-18 00:05:38 UTC) #6
huangs
Updated, PTAL. https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc File chrome/browser/ui/webui/fallback_icon_source.cc (right): https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc#newcode52 chrome/browser/ui/webui/fallback_icon_source.cc:52: if (!url.is_empty() && !url.is_valid()) { The original ...
5 years, 9 months ago (2015-03-18 18:38:49 UTC) #7
beaudoin
LGTM https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc File chrome/browser/ui/webui/fallback_icon_source.cc (right): https://codereview.chromium.org/1017803003/diff/1/chrome/browser/ui/webui/fallback_icon_source.cc#newcode52 chrome/browser/ui/webui/fallback_icon_source.cc:52: if (!url.is_empty() && !url.is_valid()) { On 2015/03/18 18:38:49, ...
5 years, 9 months ago (2015-03-18 19:03:18 UTC) #8
huangs
Ping jhawkins@, PTAL. Thanks!
5 years, 9 months ago (2015-03-18 22:05:12 UTC) #9
James Hawkins
lgtm
5 years, 9 months ago (2015-03-20 16:27:59 UTC) #11
huangs
Thanks! Commiting.
5 years, 9 months ago (2015-03-20 17:09:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017803003/20001
5 years, 9 months ago (2015-03-20 17:09:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/3977)
5 years, 9 months ago (2015-03-20 17:54:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017803003/40001
5 years, 9 months ago (2015-03-20 18:04:30 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-20 19:39:49 UTC) #21
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 19:40:47 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8b3af2bbf44062156199aeec48beeb92f3e674c2
Cr-Commit-Position: refs/heads/master@{#321615}

Powered by Google App Engine
This is Rietveld 408576698