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

Issue 336763002: Password internals page: notify renderer about logging state on client construction (Closed)

Created:
6 years, 6 months ago by vabr (Chromium)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Project:
chromium
Visibility:
Public.

Description

Password internals page: notify renderer about logging state on client construction Currently, ChromePasswordManagerClient informs the PasswordAutofillAgent almost every time about changed availability of the internals page. The only exception is when the client is created. As a result, new tabs opened after a chrome://password-manager-internals tab will only cause browser-side logs. When the client is created, the agent on the renderer side may not exist yet. So it does not help to send messages to the agent during constructing the client. Instead, this CL introduces a new "ping" IPC message from the renderer to the browser, which the agent uses to explicitly request logging state update from the client at the time the agent is constructed. BUG=384269 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278738

Patch Set 1 #

Patch Set 2 : Add a ping message renderer->browser for logging activity update #

Total comments: 12

Patch Set 3 : Just rebased #

Patch Set 4 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -18 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 3 3 chunks +33 lines, -4 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 3 chunks +11 lines, -3 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vabr (Chromium)
Hi, PTAL. Thanks! Vaclav
6 years, 6 months ago (2014-06-13 10:28:05 UTC) #1
vabr (Chromium)
On 2014/06/13 10:28:05, vabr (Chromium) wrote: > Hi, > PTAL. > Thanks! > Vaclav Actually, ...
6 years, 6 months ago (2014-06-13 10:42:08 UTC) #2
vabr (Chromium)
Ilya, Could you please review the whole CL, in particular the components/autofill bits? Do you ...
6 years, 6 months ago (2014-06-13 15:17:50 UTC) #3
Tom Sepez
Messages LGTM.
6 years, 6 months ago (2014-06-13 18:56:11 UTC) #4
Ilya Sherman
LGTM % nits. Thanks, Václav. On 2014/06/13 15:17:50, vabr (Chromium) wrote: > Do you think ...
6 years, 6 months ago (2014-06-14 00:50:39 UTC) #5
engedy
I have added some comments. Given the yet limited understanding I have of this code, ...
6 years, 6 months ago (2014-06-16 09:13:38 UTC) #6
vabr (Chromium)
Thanks all! Comments addressed, sending to the CQ. Cheers, Vaclav https://codereview.chromium.org/336763002/diff/60001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/336763002/diff/60001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode305 ...
6 years, 6 months ago (2014-06-20 10:47:04 UTC) #7
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-20 10:47:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/336763002/100001
6 years, 6 months ago (2014-06-20 10:49:50 UTC) #9
engedy
LGTM.
6 years, 6 months ago (2014-06-20 10:51:37 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 14:38:58 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 15:19:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/19857)
6 years, 6 months ago (2014-06-20 15:19:54 UTC) #13
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-20 15:27:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/336763002/100001
6 years, 6 months ago (2014-06-20 15:30:29 UTC) #15
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 17:19:36 UTC) #16
Message was sent while issue was closed.
Change committed as 278738

Powered by Google App Engine
This is Rietveld 408576698