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

Issue 1982643002: Fix backwards WebRTC-in-Chromium override and expose Chromium logging setup (Closed)

Created:
4 years, 7 months ago by katrielc
Modified:
4 years, 7 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

Fix backwards WebRTC-in-Chromium override, and expose a way for WebRTC code to initialise the Chromium logging system. BUG=561667 Committed: https://crrev.com/85d72ea76ae71e4b9d71d990e67c9d6b3cc1d145 Cr-Commit-Position: refs/heads/master@{#394384}

Patch Set 1 #

Patch Set 2 : Add a way for WebRTC code to initialise Chromium logging #

Patch Set 3 : ...and expose it even if !defined(LOGGING_INSIDE_WEBRTC) #

Total comments: 6

Patch Set 4 : More comments and a new case(LS_NONE) #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -4 lines) Patch
M third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/webrtc_overrides/webrtc/base/logging.h View 1 2 3 1 chunk +9 lines, -0 lines 2 comments Download
M third_party/webrtc_overrides/webrtc/base/logging.cc View 1 2 3 4 chunks +18 lines, -2 lines 2 comments Download

Messages

Total messages: 24 (7 generated)
katrielc
I'm not super confident about these changes -- in particular, am surprised that LogToDebug has ...
4 years, 7 months ago (2016-05-17 12:50:59 UTC) #4
Henrik Grunell
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h File third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h (right): https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h#newcode60 third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h:60: enum LoggingSeverity { LS_NONE = 0, Describe this in ...
4 years, 7 months ago (2016-05-18 08:43:26 UTC) #5
katrielc
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h File third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h (right): https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h#newcode60 third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h:60: enum LoggingSeverity { LS_NONE = 0, On 2016/05/18 08:43:26, ...
4 years, 7 months ago (2016-05-18 09:06:42 UTC) #6
Henrik Grunell
lgtm https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/logging.h File third_party/webrtc_overrides/webrtc/base/logging.h (right): https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_overrides/webrtc/base/logging.h#newcode29 third_party/webrtc_overrides/webrtc/base/logging.h:29: // Chromium allows a minimum programmatically-set log level ...
4 years, 7 months ago (2016-05-18 09:29:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982643002/60001
4 years, 7 months ago (2016-05-18 11:35:27 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-18 11:39:29 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/85d72ea76ae71e4b9d71d990e67c9d6b3cc1d145 Cr-Commit-Position: refs/heads/master@{#394384}
4 years, 7 months ago (2016-05-18 11:41:23 UTC) #13
tommi (sloooow) - chröme
https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc File third_party/webrtc_overrides/webrtc/base/logging.cc (right): https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc#newcode54 third_party/webrtc_overrides/webrtc/base/logging.cc:54: void InitChromiumLoggingAndCommandLine() { this function shouldn't be here - ...
4 years, 7 months ago (2016-05-18 11:47:50 UTC) #15
katrielc
https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc File third_party/webrtc_overrides/webrtc/base/logging.cc (right): https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc#newcode54 third_party/webrtc_overrides/webrtc/base/logging.cc:54: void InitChromiumLoggingAndCommandLine() { On 2016/05/18 11:47:50, tommi-chrömium wrote: > ...
4 years, 7 months ago (2016-05-18 12:00:46 UTC) #16
tommi (sloooow) - chröme
On 2016/05/18 12:00:46, katrielc wrote: > https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc > File third_party/webrtc_overrides/webrtc/base/logging.cc (right): > > https://codereview.chromium.org/1982643002/diff/60001/third_party/webrtc_overrides/webrtc/base/logging.cc#newcode54 > ...
4 years, 7 months ago (2016-05-18 13:42:24 UTC) #17
katrielc
On 2016/05/18 13:42:24, tommi-chrömium wrote: > This is code that ships with Chrome, so if ...
4 years, 7 months ago (2016-05-18 14:34:42 UTC) #18
katrielc
On 2016/05/18 13:42:24, tommi-chrömium wrote: > This is code that ships with Chrome, so if ...
4 years, 7 months ago (2016-05-18 14:34:44 UTC) #19
phoglund_chromium
On 2016/05/18 14:34:44, katrielc wrote: > On 2016/05/18 13:42:24, tommi-chrömium wrote: > > This is ...
4 years, 7 months ago (2016-05-18 14:55:56 UTC) #20
phoglund_chromium
On 2016/05/18 14:55:56, phoglund_chrome wrote: > On 2016/05/18 14:34:44, katrielc wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-18 14:57:37 UTC) #21
phoglund_chromium
On 2016/05/18 14:57:37, phoglund_chrome wrote: > On 2016/05/18 14:55:56, phoglund_chrome wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-18 15:00:58 UTC) #22
katrielc
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1992243002/ by katrielc@chromium.org. ...
4 years, 7 months ago (2016-05-19 13:11:59 UTC) #23
chromium-reviews
4 years, 7 months ago (2016-05-20 07:06:34 UTC) #24
Message was sent while issue was closed.
OK, I'll chat to him.

Do you know if it's possible to get the Chromium bot to do a standalone
build of WebRTC? i.e. with BUILD_WITH_CHROMIUM=0? That would solve
everything :)

On Wed, May 18, 2016 at 10:43 AM <grunell@chromium.org> wrote:

>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> File third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h
> (right):
>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> third_party/webrtc_overrides/webrtc/base/diagnostic_logging.h:60: enum
> LoggingSeverity { LS_NONE = 0,
> Describe this in the comment.
>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> File third_party/webrtc_overrides/webrtc/base/logging.cc (right):
>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> third_party/webrtc_overrides/webrtc/base/logging.cc:217:
> logging::SetMinLogLevel(WebRtcSevToChromeSev(min_sev));
> Yes, this was indeed wrong. Great to have it fixed!
>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> File third_party/webrtc_overrides/webrtc/base/logging.h (right):
>
>
>
https://codereview.chromium.org/1982643002/diff/40001/third_party/webrtc_over...
> third_party/webrtc_overrides/webrtc/base/logging.h:29: // Chromium
>
> allows a minimum programmatically-set log level of -1
> Explain that this function is only used when WebRTC standalone is built
> but it used the Chromium logging.
>
> Add TODO for removing it when the fuzzers are built/run on WebRTC bots,
> i.e. not inside Chromium. (Sorry for any incorrect/confused
> terminology...:)) Link to bug.
>
> https://codereview.chromium.org/1982643002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698