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

Issue 988863002: [Fallback icons] Change "explicit flow" interface so color hex strings don't use "#". (Closed)

Created:
5 years, 9 months ago by huangs
Modified:
5 years, 9 months ago
Reviewers:
Nico, James Hawkins
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Fallback icons] Change "explicit flow" interface so color hex strings don't use "#". Design: go/chrome-fallback-icons Fallback icon "explicit flow" URL used to have '#' in hex colors, e.g.: chrome://fallback-icon/,#01f,#123456,,/http://www.google.com Problem: "#" denotes fragment in URLs, so we get rid of it. This causes no ambiguity with named color (e.g., "red") because no named color consists of letters a-f only. Also adding "ARGB" hex color since this is supported in Skia color parsing. BUG=455063 Committed: https://crrev.com/8fa91aabefbe9784eca0c169bc2ad2dd92f5d887 Cr-Commit-Position: refs/heads/master@{#319630}

Patch Set 1 #

Patch Set 2 : Comment fix. #

Total comments: 6

Patch Set 3 : Tweaking comment and ParseColorFailure test. #

Patch Set 4 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -57 lines) Patch
M chrome/browser/ui/webui/fallback_icon_source.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser.cc View 1 2 2 chunks +34 lines, -3 lines 0 comments Download
M chrome/common/favicon/fallback_icon_url_parser_unittest.cc View 1 2 11 chunks +48 lines, -48 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
huangs
OWNER review to jhawkins, PTAL.
5 years, 9 months ago (2015-03-06 22:09:57 UTC) #2
James Hawkins
https://codereview.chromium.org/988863002/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): https://codereview.chromium.org/988863002/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc#newcode16 chrome/common/favicon/fallback_icon_url_parser.cc:16: bool IsHexColorString(const std::string& color_str) { Please add documentation about ...
5 years, 9 months ago (2015-03-06 22:24:52 UTC) #3
huangs
Updated, PTAL. https://codereview.chromium.org/988863002/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc File chrome/common/favicon/fallback_icon_url_parser.cc (right): https://codereview.chromium.org/988863002/diff/20001/chrome/common/favicon/fallback_icon_url_parser.cc#newcode16 chrome/common/favicon/fallback_icon_url_parser.cc:16: bool IsHexColorString(const std::string& color_str) { On 2015/03/06 ...
5 years, 9 months ago (2015-03-06 22:39:49 UTC) #4
James Hawkins
lgtm
5 years, 9 months ago (2015-03-06 23:47:25 UTC) #5
huangs
Thanks. Committing!
5 years, 9 months ago (2015-03-07 04:22:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988863002/40001
5 years, 9 months ago (2015-03-07 04:23:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_rel_ng on ...
5 years, 9 months ago (2015-03-07 06:24:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988863002/40001
5 years, 9 months ago (2015-03-08 20:44:13 UTC) #12
commit-bot: I haz the power
Failed to apply the patch.
5 years, 9 months ago (2015-03-08 21:37:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988863002/60001
5 years, 9 months ago (2015-03-09 04:24:18 UTC) #18
commit-bot: I haz the power
Failed to apply the patch.
5 years, 9 months ago (2015-03-09 06:03:41 UTC) #20
huangs
This is very weird, I'm able to do "git cl patch 988863002" on ToT. Retrying.
5 years, 9 months ago (2015-03-09 14:58:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988863002/60001
5 years, 9 months ago (2015-03-09 14:58:42 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-09 14:59:31 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8fa91aabefbe9784eca0c169bc2ad2dd92f5d887 Cr-Commit-Position: refs/heads/master@{#319630}
5 years, 9 months ago (2015-03-09 15:00:15 UTC) #25
Bence
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/989133003/ by bnc@chromium.org. ...
5 years, 9 months ago (2015-03-09 17:45:36 UTC) #26
Nico
This breaks the valgrind bots: Command: /mnt/data/b/build/slave/chromium-rel-linux-valgrind-tests-3/build/src/out/Release/unit_tests --gtest_print_time --single-process-tests --gtest_filter=-ClientSideDetectionHostTest.FAILS_OnPhishingDetectionDoneDisabled:VisitedLinkRelayTest.Basics:NativeMessagingTest.*:ClientSideDetectionHostTest.FLAKY_OnPhishingDetectionDoneInvalidVerdict:ExtensionPrefsDelayedInstallInfo.FLAKY_DelayedInstallInfo:ProfileSyncServiceSessionTest.WriteFilledSessionToNode:ClientSideDetectionHostTest.FAILS_NavigationCancelsShouldClassifyUrl:PredictorTest.FAILS_MassiveConcurrentLookupTest:ClientSideDetectionHostTest.FLAKY_OnPhishingDetectionDoneNotPhishing:P2PTransportImplTest.FLAKY_ConnectTcp:P2PTransportImplTest.SendDataTcp:ExtensionIconManagerTest.FLAKY_LoadComponentExtensionResource:ExtensionPathUtilTest.FLAKY_BasicPrettifyPathTest:BackgroundApplicationListModelTest.FAILS_RandomTest:P2PTransportImplTest.FAILS_ConnectTcp:CloudPrintURLFetcherOverloadTest.Protect:ProcessWatcherTest.FAILS_ImmediateTermination:CloudPrintURLFetcherOverloadTest.FLAKY_Protect:AutocompleteActionPredictorTest.FAILS_RecommendActionURL:ClientSideDetectionHostTest.FAILS_OnPhishingDetectionDoneNotPhishing:CloudPrintURLFetcherBasicTest.FLAKY_HandleRawData:ExtensionIconManagerTest.FAILS_LoadComponentExtensionResource:ConnectionTesterTest.FAILS_RunAllTests:SignedSettingsTest.FLAKY_StorePolicyNoPolicyData:BackgroundApplicationListModelTest.RandomTest:VisitedLinkEventsTest.FLAKY_Coalescense:SyncFileSystemServiceTest.FAILS_SimpleLocalSyncFlow:ClientSideDetectionHostTest.OnPhishingDetectionDoneDisabled:P2PTransportImplTest.FAILS_ConnectUdp:NTPUserDataLoggerTest.FAILS_TestLogging:ExtensionUpdaterTest.TestMultipleManifestDownloading:AutocompleteActionPredictorTest.FLAKY_RecommendActionURL:AutocompleteActionPredictorTest.RecommendActionURL:VisitedLinkEventsTest.Coalescense:ExtensionUpdaterTest.FLAKY_TestMultipleManifestDownloading:VisitedLinkRelayTest.FAILS_Basics:ExtensionPrefsDelayedInstallInfo.DelayedInstallInfo:ProfileSyncServiceSessionTest.ValidTabs:CloudPrintURLFetcherBasicTest.FAILS_HandleRawData:ExtensionServiceTest.*:ClientSideDetectionHostTest.FAILS_OnPhishingDetectionDoneInvalidVerdict:PredictorTest.MassiveConcurrentLookupTest:VisitedLinkRelayTest.FLAKY_Basics:ProxyConfigServiceImplTest.*:SyncFileSystemServiceTest.SimpleLocalSyncFlow:ClientSideDetectionHostTest.FLAKY_OnPhishingDetectionDoneVerdictNotPhishing:P2PTransportImplTest.Create:ExtensionUpdaterTest.FAILS_TestMultipleManifestDownloading:RenderViewTest.FLAKY_OnHandleKeyboardEvent:URLFetcherBadHTTPSTest.FLAKY_BadHTTPSTest:P2PTransportImplTest.FLAKY_SendDataUdp:ConnectionTesterTest.FLAKY_RunAllTests:ClientSideDetectionHostTest.OnPhishingDetectionDoneInvalidVerdict:ProcessWatcherTest.FLAKY_ImmediateTermination:ProfileSyncServiceSessionTest.FLAKY_WriteFilledSessionToNode:ProfileSyncServiceSessionTest.FLAKY_ValidTabs:ExtensionIconManagerTest.LoadComponentExtensionResource:RenderViewTest.FAILS_OnHandleKeyboardEvent:P2PTransportImplTest.FLAKY_SendDataTcp:ProcessWatcherTest.ImmediateTermination:P2PTransportImplTest.ConnectUdp:RenderViewTest.FLAKY_ImeComposition:P2PTransportImplTest.FLAKY_ConnectUdp:P2PTransportImplTest.SendDataUdp:VisitedLinkEventsTest.FAILS_Coalescense:ClientSideDetectionHostTest.NavigationCancelsShouldClassifyUrl:ClientSideDetectionHostTest.OnPhishingDetectionDoneVerdictNotPhishing:CloudPrintURLFetcherBasicTest.HandleRawData:BackgroundApplicationListModelTest.FLAKY_RandomTest:ConnectionTesterTest.RunAllTests:ConnectionTesterTest.FAILS_DeleteWhileInProgress:ExtensionPrefsDelayedInstallInfo.FAILS_DelayedInstallInfo:SignedSettingsTest.StorePolicyNoPolicyData:ProfileSyncServiceSessionTest.FAILS_WriteFilledSessionToNode:RenderViewTest.OnHandleKeyboardEvent:P2PTransportImplTest.FAILS_SendDataTcp:ClientSideDetectionHostTest.FLAKY_OnPhishingDetectionDoneDisabled:URLFetcherBadHTTPSTest.FAILS_BadHTTPSTest:PredictorTest.FLAKY_MassiveConcurrentLookupTest:ExtensionWebRequestTest.*:RenderViewTest.ImeComposition:NTPUserDataLoggerTest.FLAKY_TestLogging:SyncFileSystemServiceTest.FLAKY_SimpleLocalSyncFlow:ConnectionTesterTest.DeleteWhileInProgress:P2PTransportImplTest.FAILS_Create:ExtensionPathUtilTest.FAILS_BasicPrettifyPathTest:RenderViewTest.FAILS_ImeComposition:ClientSideDetectionHostTest.FLAKY_NavigationCancelsShouldClassifyUrl:ExtensionAlarmsTest.*:P2PTransportImplTest.ConnectTcp:CloudPrintURLFetcherOverloadTest.FAILS_Protect:URLFetcherBadHTTPSTest.BadHTTPSTest:P2PTransportImplTest.FLAKY_Create:ClientSideDetectionHostTest.FAILS_OnPhishingDetectionDoneVerdictNotPhishing:P2PTransportImplTest.FAILS_SendDataUdp:StorageInfoProviderTest.*:ClientSideDetectionHostTest.OnPhishingDetectionDoneNotPhishing:SignedSettingsTest.FAILS_StorePolicyNoPolicyData:CpuInfoProviderTest.*:ProfileSyncServiceSessionTest.FAILS_ValidTabs:NTPUserDataLoggerTest.TestLogging:ExtensionPathUtilTest.BasicPrettifyPathTest:ConnectionTesterTest.FLAKY_DeleteWhileInProgress --test-tiny-timeout=1000 InvalidRead Invalid read of ...
5 years, 9 months ago (2015-03-09 18:40:43 UTC) #28
Nico
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/989183003/ by thakis@chromium.org. ...
5 years, 9 months ago (2015-03-09 19:42:30 UTC) #29
huangs
5 years, 9 months ago (2015-03-09 19:44:11 UTC) #30
Message was sent while issue was closed.
I thought this has already been reverted?

Powered by Google App Engine
This is Rietveld 408576698