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

Issue 2045203004: Use absolute namespace references in //base/logging.h macros (Closed)

Created:
4 years, 6 months ago by tsniatowski
Modified:
4 years, 5 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use absolute namespace references in //base/logging.h macros Macros can be used in various namespace contexts, and macros that expand to "logging::Something" can end up choosing some_namespace::logging if used in a context wher ethere exists a nested namespace logging with a conflicting name like LogMessage. It's fixable by using "::logging::" instead of "logging::" in the macros. No examples of such issues in chrome, but this can help downstream and seems a good thing to do consistently. BUG= Committed: https://crrev.com/612550fd30ada9255df285534eef179c9301b398 Cr-Commit-Position: refs/heads/master@{#406910}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -30 lines) Patch
M base/logging.h View 7 chunks +33 lines, -30 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
tsniatowski
PTAL
4 years, 6 months ago (2016-06-08 14:42:20 UTC) #4
jam
please pick an owner from base/owners
4 years, 6 months ago (2016-06-08 16:11:11 UTC) #5
tsniatowski
On 2016/06/08 16:11:11, jam wrote: > please pick an owner from base/owners done (I blame ...
4 years, 6 months ago (2016-06-09 05:17:51 UTC) #7
tsniatowski
On 2016/06/09 05:17:51, tsniatowski wrote: > On 2016/06/08 16:11:11, jam wrote: > > please pick ...
4 years, 6 months ago (2016-06-23 05:40:14 UTC) #8
tsniatowski
On 2016/06/23 05:40:14, tsniatowski wrote: > On 2016/06/09 05:17:51, tsniatowski wrote: > > On 2016/06/08 ...
4 years, 5 months ago (2016-07-21 10:26:13 UTC) #10
Mark Mentovai
LGTM. Good call.
4 years, 5 months ago (2016-07-21 14:21:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2045203004/1
4 years, 5 months ago (2016-07-21 14:55:49 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-21 18:26:36 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 18:30:15 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/612550fd30ada9255df285534eef179c9301b398
Cr-Commit-Position: refs/heads/master@{#406910}

Powered by Google App Engine
This is Rietveld 408576698