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

Issue 602773002: Handle multiple signin_internal_uis by using a linked_ptr (Closed)

Created:
6 years, 2 months ago by Mike Lerman
Modified:
6 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Handle multiple signin_internal_uis by using a linked_ptr. Fixes an issue where chrome://signin-internals page is opened multiple times, and the scoped_ptr was getting de-allocated by the first object. Moving to a linked_ptr for more robust reference counting. BUG=416802 Committed: https://crrev.com/a5dc279bb8398b6edfef7740622c47a113261753 Cr-Commit-Position: refs/heads/master@{#296932}

Patch Set 1 #

Total comments: 6

Patch Set 2 : use naked pointers. Don't call ListAccounts when we're sure there are no UIs. #

Patch Set 3 : Remove unneeded headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -16 lines) Patch
M chrome/browser/ui/webui/signin_internals_ui.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/signin_internals_ui.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.cc View 1 4 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Mike Lerman
Hi Roger and nikita, Please take a look. Thanks! Mike
6 years, 2 months ago (2014-09-24 16:09:55 UTC) #2
Nikita (slow)
lgtm
6 years, 2 months ago (2014-09-24 16:24:15 UTC) #3
Roger Tawa OOO till Jul 10th
Hi Mike, I think it would be better to have the same arg type for ...
6 years, 2 months ago (2014-09-25 01:14:06 UTC) #4
Mike Lerman
I changed the ListAccounts call so that we don't initiate that request if we're sure ...
6 years, 2 months ago (2014-09-25 17:28:34 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm I guess v2 json form does the trick?
6 years, 2 months ago (2014-09-26 03:44:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602773002/40001
6 years, 2 months ago (2014-09-26 12:51:28 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 0c50a00f4efb2c74a612292dbe096e320cfd6dc5
6 years, 2 months ago (2014-09-26 13:37:40 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 13:38:04 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a5dc279bb8398b6edfef7740622c47a113261753
Cr-Commit-Position: refs/heads/master@{#296932}

Powered by Google App Engine
This is Rietveld 408576698