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

Issue 1233313005: Move elide_url to its own component (Closed)

Created:
5 years, 5 months ago by Miguel Garcia
Modified:
5 years, 5 months ago
CC:
chromium-reviews, felt, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, noyau+watch_chromium.org, Peter Beverloo, tfarina, vabr+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move elide_url to its own component So it can be used for elements in the ui/ directory for example. In particular there will be a follow up to use it from https://codereview.chromium.org/1235253009/ TBR=cbenzel,danakj BUG=509834 Committed: https://crrev.com/dbcfb120974345eb846b92bf224fef89426b30cf Cr-Commit-Position: refs/heads/master@{#340068}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase and add felt to owners #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Moved to a component #

Patch Set 6 : #

Patch Set 7 : Gyp and GN Vodoo #

Total comments: 3

Patch Set 8 : Add cast to fix windows bot #

Total comments: 12

Patch Set 9 : Rebase #

Patch Set 10 : Review comments #

Patch Set 11 : #

Patch Set 12 : move to static library #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -928 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/status_bubble_mac.mm View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 1 2 3 4 10 chunks +25 lines, -25 lines 0 comments Download
D chrome/browser/ui/elide_url.h View 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/ui/elide_url.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -347 lines 0 comments Download
D chrome/browser/ui/elide_url_unittest.cc View 1 chunk +0 lines, -326 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_view_utils.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -0 lines 0 comments Download
A components/secure_display.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -0 lines 1 comment Download
A components/secure_display/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +29 lines, -0 lines 0 comments Download
A components/secure_display/DEPS View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
A + components/secure_display/OWNERS View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
A + components/secure_display/elide_url.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -3 lines 0 comments Download
A + components/secure_display/elide_url.cc View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +38 lines, -32 lines 0 comments Download
A + components/secure_display/elide_url_unittest.cc View 1 2 3 4 5 6 7 8 9 14 chunks +99 lines, -109 lines 0 comments Download

Messages

Total messages: 43 (13 generated)
Miguel Garcia
Some trybots will fail (the patch needs a rebase and I have not even ran ...
5 years, 5 months ago (2015-07-16 16:29:42 UTC) #2
tfarina
Does this needs to be in ui/? Can we have it in components/ instead? If ...
5 years, 5 months ago (2015-07-16 16:52:29 UTC) #4
noyau (Ping after 24h)
On 2015/07/16 16:29:42, Miguel Garcia wrote: > Some trybots will fail (the patch needs a ...
5 years, 5 months ago (2015-07-16 17:00:25 UTC) #5
palmer
This LG to M overall, but I agree that components/ is probably the best place ...
5 years, 5 months ago (2015-07-16 17:42:58 UTC) #6
Miguel Garcia
Ok, I created a component out of this, there are a few changes worth noticing ...
5 years, 5 months ago (2015-07-21 17:38:42 UTC) #7
Miguel Garcia
[+sdefresne] for component/OWNERS
5 years, 5 months ago (2015-07-21 17:41:23 UTC) #9
Miguel Garcia
Changed main OWNER to jochen since he has both chrome and components ownership. Sylvain please ...
5 years, 5 months ago (2015-07-21 17:50:15 UTC) #11
Miguel Garcia
CC felt so she knows she will now become the proud owner of a postmortem
5 years, 5 months ago (2015-07-21 18:02:48 UTC) #12
Miguel Garcia
erm I meant component, too many things at the same time. On Tue, Jul 21, ...
5 years, 5 months ago (2015-07-21 18:47:40 UTC) #13
palmer
Awesome, thank you! LGTM.
5 years, 5 months ago (2015-07-21 20:27:17 UTC) #14
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/BUILD.gn File components/secure_display/BUILD.gn (right): https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/BUILD.gn#newcode3 components/secure_display/BUILD.gn:3: source_set("secure_display") { i guess you mean component() here? ...
5 years, 5 months ago (2015-07-22 09:31:55 UTC) #15
noyau (Ping after 24h)
https://codereview.chromium.org/1233313005/diff/120001/components/secure_display/elide_url.cc File components/secure_display/elide_url.cc (right): https://codereview.chromium.org/1233313005/diff/120001/components/secure_display/elide_url.cc#newcode108 components/secure_display/elide_url.cc:108: #endif nit #endif // !defined(OS_ANDROID) https://codereview.chromium.org/1233313005/diff/120001/components/secure_display/elide_url.h File components/secure_display/elide_url.h (right): ...
5 years, 5 months ago (2015-07-22 09:44:00 UTC) #17
Miguel Garcia
https://codereview.chromium.org/1233313005/diff/120001/components/secure_display/elide_url.cc File components/secure_display/elide_url.cc (right): https://codereview.chromium.org/1233313005/diff/120001/components/secure_display/elide_url.cc#newcode108 components/secure_display/elide_url.cc:108: #endif On 2015/07/22 09:44:00, noyau wrote: > nit > ...
5 years, 5 months ago (2015-07-22 12:33:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1233313005/200001
5 years, 5 months ago (2015-07-22 12:33:39 UTC) #21
noyau (Ping after 24h)
https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/elide_url.h File components/secure_display/elide_url.h (right): https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/elide_url.h#newcode71 components/secure_display/elide_url.h:71: } // namespace On 2015/07/22 12:33:07, Miguel Garcia wrote: ...
5 years, 5 months ago (2015-07-22 12:44:34 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/80908)
5 years, 5 months ago (2015-07-22 12:45:33 UTC) #25
Miguel Garcia
On 2015/07/22 12:44:34, noyau wrote: > https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/elide_url.h > File components/secure_display/elide_url.h (right): > > https://codereview.chromium.org/1233313005/diff/140001/components/secure_display/elide_url.h#newcode71 > ...
5 years, 5 months ago (2015-07-22 12:56:01 UTC) #26
Miguel Garcia
It seems I need to add owners for the different deps I am adding. I ...
5 years, 5 months ago (2015-07-22 12:58:05 UTC) #28
noyau (Ping after 24h)
https://codereview.chromium.org/1233313005/diff/140001/components/secure_display.gypi File components/secure_display.gypi (right): https://codereview.chromium.org/1233313005/diff/140001/components/secure_display.gypi#newcode10 components/secure_display.gypi:10: 'type': '<(component)', On 2015/07/22 12:33:06, Miguel Garcia wrote: > ...
5 years, 5 months ago (2015-07-22 13:26:53 UTC) #29
Miguel Garcia
Thanks for the extra info, will make it a static library before landing it On ...
5 years, 5 months ago (2015-07-22 14:58:31 UTC) #30
noyau (Ping after 24h)
On 2015/07/22 14:58:31, Miguel Garcia wrote: > Thanks for the extra info, will make it ...
5 years, 5 months ago (2015-07-22 15:03:51 UTC) #31
jochen (gone - plz use gerrit)
On 2015/07/22 at 15:03:51, noyau wrote: > On 2015/07/22 14:58:31, Miguel Garcia wrote: > > ...
5 years, 5 months ago (2015-07-22 15:08:12 UTC) #32
Miguel Garcia
+cbentzel for the net/base DEPS
5 years, 5 months ago (2015-07-22 18:29:56 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1233313005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1233313005/220001
5 years, 5 months ago (2015-07-23 10:05:45 UTC) #37
cbentzel
On 2015/07/23 10:05:45, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
5 years, 5 months ago (2015-07-23 10:11:39 UTC) #38
noyau (Ping after 24h)
On 2015/07/23 10:11:39, cbentzel wrote: > On 2015/07/23 10:05:45, commit-bot: I haz the power wrote: ...
5 years, 5 months ago (2015-07-23 10:44:08 UTC) #39
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 5 months ago (2015-07-23 10:45:19 UTC) #40
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/dbcfb120974345eb846b92bf224fef89426b30cf Cr-Commit-Position: refs/heads/master@{#340068}
5 years, 5 months ago (2015-07-23 10:45:49 UTC) #41
noyau (Ping after 24h)
https://codereview.chromium.org/1233313005/diff/220001/components/secure_display.gypi File components/secure_display.gypi (right): https://codereview.chromium.org/1233313005/diff/220001/components/secure_display.gypi#newcode18 components/secure_display.gypi:18: 'SECURE_DISPLAY_IMPLEMENTATION', Is this define still needed?
5 years, 5 months ago (2015-07-23 11:13:57 UTC) #42
Miguel Garcia
5 years, 5 months ago (2015-07-23 14:34:50 UTC) #43
Message was sent while issue was closed.
On 2015/07/23 11:13:57, noyau wrote:
>
https://codereview.chromium.org/1233313005/diff/220001/components/secure_disp...
> File components/secure_display.gypi (right):
> 
>
https://codereview.chromium.org/1233313005/diff/220001/components/secure_disp...
> components/secure_display.gypi:18: 'SECURE_DISPLAY_IMPLEMENTATION',
> Is this define still needed?

It's not, thanks a lot for checking.

Powered by Google App Engine
This is Rietveld 408576698