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

Issue 2197713002: Comment out an identifier for for an obsolete infobar, and notate (Closed)

Created:
4 years, 4 months ago by Evan Stade
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Comment out an identifier for for an obsolete infobar, and notate two that seem unused as iOS only. BUG=none Committed: https://crrev.com/2d9512bfd5875286cdaa3532b0bffc4c67a0963e Cr-Commit-Position: refs/heads/master@{#408740}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M components/infobars/core/infobar_delegate.h View 2 chunks +3 lines, -3 lines 5 comments Download

Messages

Total messages: 17 (6 generated)
Evan Stade
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h#newcode129 components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE = 59, // Used on iOS. I would ...
4 years, 4 months ago (2016-07-29 17:10:39 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h#newcode129 components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE = 59, // Used on iOS. On ...
4 years, 4 months ago (2016-07-29 19:10:05 UTC) #3
Evan Stade
+cc dfalcantara
4 years, 4 months ago (2016-07-29 19:16:36 UTC) #5
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/2197713002/1
4 years, 4 months ago (2016-07-29 19:17:41 UTC) #7
gone
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h#newcode129 components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE = 59, // Used on iOS. On 2016/07/29 ...
4 years, 4 months ago (2016-07-29 20:00:57 UTC) #8
gone
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h#newcode129 components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE = 59, // Used on iOS. On 2016/07/29 ...
4 years, 4 months ago (2016-07-29 20:01:36 UTC) #9
Peter Kasting
jif: Since you reverted the last patch, maybe you can answer. Can iOS upstream its ...
4 years, 4 months ago (2016-07-29 20:15:35 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-29 21:04:29 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/2d9512bfd5875286cdaa3532b0bffc4c67a0963e Cr-Commit-Position: refs/heads/master@{#408740}
4 years, 4 months ago (2016-07-29 21:07:04 UTC) #14
jif-google
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/infobar_delegate.h#newcode129 components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE = 59, // Used on iOS. Chrome for ...
4 years, 4 months ago (2016-08-01 12:08:06 UTC) #16
Evan Stade
4 years, 4 months ago (2016-08-01 12:42:20 UTC) #17
Message was sent while issue was closed.
On 2016/08/01 12:08:06, jif-google wrote:
>
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/in...
> File components/infobars/core/infobar_delegate.h (right):
> 
>
https://codereview.chromium.org/2197713002/diff/1/components/infobars/core/in...
> components/infobars/core/infobar_delegate.h:129: UPGRADE_INFOBAR_DELEGATE =
59, 
> // Used on iOS.
> Chrome for iOS eng here.
> I realize that it's super annoying for a random engineer to revert a CL just
> because their downstream  usage gets broken. I sincerely apologize for that.
> 
> > I thought iOS was fully upstreamed?
> Chrome for iOS used to be a fork of Chrome. This has recently stopped being
the
> case; maybe this is what you were thinking of?
> 
> Unfortunately, Chrome iOS is still mostly in a private repo (whose code is
> mirrored in Google3 btw) in which we "roll" chromium code.
> 
> We have several people working fulltime on upstreaming all the iOS code.
> rohitrao@ or sdefresne@ can talk to you about the various challenges we are
> facing (this includes rewriting the integration tests and stop using some iOS
> libraries shared across Google Apps).
> 
> > I would have preferred to change the names to ..._IOS but that would break
iOS
> > and then someone would revert this patch.
> Again, sorry about that.
> I tried to not revert the patch by defining the removed constants downstream,
> but it was deemed "too ugly".
> Renaming the names to ..._IOS is not a problem. It would indeed break iOS, but
> it would be an easy fix for us. I'm writing a CL now.

thanks.

The biggest problem with leaving them here is the potential for repeated future
breakage as there's no test coverage. That seems more important than aesthetic
appeal, but it's kind of a bike shed so I'll leave it alone.

Powered by Google App Engine
This is Rietveld 408576698