|
|
Created:
6 years, 1 month ago by Nikita (slow) Modified:
6 years, 1 month ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, hashimoto Base URL:
https://chromium.googlesource.com/chromium/src.git@master Project:
chromium Visibility:
Public. |
Description[Athena] Copy implementation of some ExtensionTabUtil methods.
Fixes sign in bug (white screen and no way to proceed) with https://codereview.chromium.org/473153002/
BUG=426855
Committed: https://crrev.com/f61de3e9a6142a5626262e528eb73ad2b083a4b2
Cr-Commit-Position: refs/heads/master@{#301609}
Patch Set 1 #
Total comments: 4
Patch Set 2 : review #Patch Set 3 : remove another method #
Total comments: 2
Patch Set 4 : remove tab_strip usage #Patch Set 5 : remove header #Messages
Total messages: 25 (6 generated)
nkostylev@chromium.org changed reviewers: + oshima@chromium.org
Oshima, please suggest whether this is acceptable way to proceed since I'm now relanding https://codereview.chromium.org/473153002/ and it breaks sign in on Chrome OS.
https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_tab_util_athena.cc (right): https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_tab_util_athena.cc:236: for (chrome::BrowserIterator it; !it.done(); it.Next()) { there is no browser / tabstrip in athena. how does this work?
https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_tab_util_athena.cc (right): https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_tab_util_athena.cc:236: for (chrome::BrowserIterator it; !it.done(); it.Next()) { On 2014/10/24 14:41:26, oshima wrote: > there is no browser / tabstrip in athena. how does this work? I need to double check, maybe this method is not needed though for this particular bug.
https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_tab_util_athena.cc (right): https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_tab_util_athena.cc:110: WindowController* controller = GetAppWindowController(contents); I've removed impl for this method as well cause it's not really needed for this fix. https://codereview.chromium.org/642693003/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_tab_util_athena.cc:236: for (chrome::BrowserIterator it; !it.done(); it.Next()) { On 2014/10/24 15:10:47, Nikita Kostylev wrote: > On 2014/10/24 14:41:26, oshima wrote: > > there is no browser / tabstrip in athena. how does this work? > > I need to double check, maybe this method is not needed though for this > particular bug. This method is not really needed for a fix, removed.
https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... File chrome/browser/extensions/extension_tab_util_athena.cc (right): https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... chrome/browser/extensions/extension_tab_util_athena.cc:118: TabStripModel* tab_strip, do you know who/where creates tab_strip on athea? What's in it?
https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... File chrome/browser/extensions/extension_tab_util_athena.cc (right): https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... chrome/browser/extensions/extension_tab_util_athena.cc:118: TabStripModel* tab_strip, On 2014/10/27 13:44:38, oshima wrote: > do you know who/where creates tab_strip on athea? What's in it? > It's actually passed as NULL.
On 2014/10/27 15:07:27, Nikita Kostylev wrote: > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > File chrome/browser/extensions/extension_tab_util_athena.cc (right): > > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > chrome/browser/extensions/extension_tab_util_athena.cc:118: TabStripModel* > tab_strip, > On 2014/10/27 13:44:38, oshima wrote: > > do you know who/where creates tab_strip on athea? What's in it? > > > > It's actually passed as NULL. If it's always NULL, can you do check/dcheck and remove unnecessary code?
On 2014/10/27 15:09:38, oshima wrote: > On 2014/10/27 15:07:27, Nikita Kostylev wrote: > > > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > > File chrome/browser/extensions/extension_tab_util_athena.cc (right): > > > > > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > > chrome/browser/extensions/extension_tab_util_athena.cc:118: TabStripModel* > > tab_strip, > > On 2014/10/27 13:44:38, oshima wrote: > > > do you know who/where creates tab_strip on athea? What's in it? > > > > > > > It's actually passed as NULL. > > If it's always NULL, can you do check/dcheck and remove unnecessary code? Do you think it makes sense to remove NOTIMPLEMENTED() from ExtensionTabUtil::GetTabStripModel() too? Or do you think it will be implemented eventually?
On 2014/10/27 15:09:38, oshima wrote: > On 2014/10/27 15:07:27, Nikita Kostylev wrote: > > > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > > File chrome/browser/extensions/extension_tab_util_athena.cc (right): > > > > > https://codereview.chromium.org/642693003/diff/40001/chrome/browser/extension... > > chrome/browser/extensions/extension_tab_util_athena.cc:118: TabStripModel* > > tab_strip, > > On 2014/10/27 13:44:38, oshima wrote: > > > do you know who/where creates tab_strip on athea? What's in it? > > > > > > > It's actually passed as NULL. > > If it's always NULL, can you do check/dcheck and remove unnecessary code? done.
lgtm
The CQ bit was checked by nkostylev@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642693003/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
nkostylev@chromium.org changed reviewers: + benwells@chromium.org
+benwells@ for owners review.
longterm hashimoto@ is working on refactoring so that we can share the code as much as possible.
nkostylev@chromium.org changed reviewers: + finnur@chromium.org
+finnur@ as well (trying to catch someone from owners) There's a bug that prevents new user sign in on Athena builds.
OWNERS LGTM
The CQ bit was checked by nkostylev@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642693003/80001
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/f61de3e9a6142a5626262e528eb73ad2b083a4b2 Cr-Commit-Position: refs/heads/master@{#301609} |