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

Issue 1135293002: Hook up PA_LOG() logs to chrome://proximity-auth WebUI. (Closed)

Created:
5 years, 7 months ago by Tim Song
Modified:
5 years, 7 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook up PA_LOG() logs to chrome://proximity-auth WebUI. BUG=409158 TEST=manual Committed: https://crrev.com/dc5cefc1aa1f1adeab07303206a538d9a2441984 Cr-Commit-Position: refs/heads/master@{#329877}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : fixes #

Total comments: 6

Patch Set 3 : scoped_ptr #

Patch Set 4 : stop using release() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -201 lines) Patch
M components/proximity_auth/logging/log_buffer.h View 1 3 chunks +17 lines, -0 lines 0 comments Download
M components/proximity_auth/logging/log_buffer.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M components/proximity_auth/webui/proximity_auth_ui.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/webui/proximity_auth_webui_handler.h View 1 1 chunk +16 lines, -2 lines 0 comments Download
M components/proximity_auth/webui/proximity_auth_webui_handler.cc View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A components/proximity_auth/webui/resources/log-buffer.html View 1 chunk +5 lines, -0 lines 0 comments Download
A components/proximity_auth/webui/resources/log-buffer.js View 1 1 chunk +74 lines, -0 lines 0 comments Download
M components/proximity_auth/webui/resources/log-panel.html View 3 chunks +17 lines, -5 lines 0 comments Download
M components/proximity_auth/webui/resources/log-panel.js View 1 2 chunks +33 lines, -194 lines 0 comments Download
M components/resources/proximity_auth_resources.grdp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Tim Song
5 years, 7 months ago (2015-05-12 20:51:56 UTC) #5
Ilya Sherman
Thanks, Tim. https://codereview.chromium.org/1135293002/diff/60001/components/proximity_auth/logging/log_buffer.h File components/proximity_auth/logging/log_buffer.h (right): https://codereview.chromium.org/1135293002/diff/60001/components/proximity_auth/logging/log_buffer.h#newcode40 components/proximity_auth/logging/log_buffer.h:40: virtual void OnLogBufferCleared() = 0; Please document ...
5 years, 7 months ago (2015-05-13 00:49:58 UTC) #6
Tim Song
https://codereview.chromium.org/1135293002/diff/60001/components/proximity_auth/logging/log_buffer.h File components/proximity_auth/logging/log_buffer.h (right): https://codereview.chromium.org/1135293002/diff/60001/components/proximity_auth/logging/log_buffer.h#newcode40 components/proximity_auth/logging/log_buffer.h:40: virtual void OnLogBufferCleared() = 0; On 2015/05/13 00:49:57, Ilya ...
5 years, 7 months ago (2015-05-13 02:24:37 UTC) #7
Ilya Sherman
LGTM % the remaining nits. Thanks, Tim. https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc File components/proximity_auth/webui/proximity_auth_webui_handler.cc (right): https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc#newcode27 components/proximity_auth/webui/proximity_auth_webui_handler.cc:27: base::DictionaryValue* dictionary ...
5 years, 7 months ago (2015-05-13 21:57:10 UTC) #8
Tim Song
https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc File components/proximity_auth/webui/proximity_auth_webui_handler.cc (right): https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc#newcode27 components/proximity_auth/webui/proximity_auth_webui_handler.cc:27: base::DictionaryValue* dictionary = new base::DictionaryValue(); On 2015/05/13 21:57:10, Ilya ...
5 years, 7 months ago (2015-05-13 23:26:55 UTC) #9
Ilya Sherman
https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc File components/proximity_auth/webui/proximity_auth_webui_handler.cc (right): https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc#newcode61 components/proximity_auth/webui/proximity_auth_webui_handler.cc:61: LogMessageToDictionary(log_message).release()); On 2015/05/13 23:26:55, Tim Song wrote: > On ...
5 years, 7 months ago (2015-05-13 23:42:34 UTC) #10
Tim Song
https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc File components/proximity_auth/webui/proximity_auth_webui_handler.cc (right): https://codereview.chromium.org/1135293002/diff/80001/components/proximity_auth/webui/proximity_auth_webui_handler.cc#newcode61 components/proximity_auth/webui/proximity_auth_webui_handler.cc:61: LogMessageToDictionary(log_message).release()); On 2015/05/13 23:42:34, Ilya Sherman wrote: > On ...
5 years, 7 months ago (2015-05-14 03:12:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1135293002/120001
5 years, 7 months ago (2015-05-14 17:28:23 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 7 months ago (2015-05-14 18:06:53 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 18:07:42 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dc5cefc1aa1f1adeab07303206a538d9a2441984
Cr-Commit-Position: refs/heads/master@{#329877}

Powered by Google App Engine
This is Rietveld 408576698