|
|
Chromium Code Reviews|
Created:
4 years, 8 months ago by shinyak (Google) Modified:
4 years, 8 months ago CC:
blink-reviews, chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMove StringHash.h include to OriginTrialContext.h
This is a follow-up patch for r386009.
We added StringHash.h include in OriginTrial.h to fix build before.
However, this is used for HashSet<String>, and actually
OriginTrialContext.h has HashSet<String>.
So, we should have added StirngHash.h in OriginTrialContext.h
instead of OriginTrials.h.
BUG=601282
Committed: https://crrev.com/079a5f825dc266bc78beab35ba1baa54fb363088
Cr-Commit-Position: refs/heads/master@{#387535}
Patch Set 1 #Patch Set 2 : fix include #
Messages
Total messages: 26 (10 generated)
The CQ bit was checked by shinyak@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879993002/1
shinyak@chromium.org changed reviewers: + iclelland@chromium.org, mek@chromium.org
Hi, this is a follow-up patch for https://codereview.chromium.org/1863323004 Could you review this?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
I'm still a bit confused... the StringHash header is needed to bring in HashTraits<String>::isEmptyValue(), but that's not used in OriginTrials.cpp, it's used to instantiate the HashSet<String> in OriginTrialContext.h, isn't it? (https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit...)
On 2016/04/12 at 12:59:56, iclelland wrote: > I'm still a bit confused... the StringHash header is needed to bring in HashTraits<String>::isEmptyValue(), but that's not used in OriginTrials.cpp, it's used to instantiate the HashSet<String> in OriginTrialContext.h, isn't it? > > (https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit...) Hmm, good point... maybe somehow MSVC (incorrectly?) thinks it needs to be able to fully instantiate OriginTrialContext and its HashSet<String> member. No idea why that would only be the case for whatever configuration it was this was failing on though, but if that's what is happening, moving the StringHash.h include to OriginTrialContext.h might be the correct solution. Considering all other compilers/platforms/configurations seem to not need this it still seems like this might be a MSVC bug, but moving the include to OriginTrialContext.h would still be better I think.
oops, sorry. I'll work for this soon.
Description was changed from
==========
Move StringHash.h include to cpp in OriginTrials.
This is a follow-up patch for r386009.
We don't need to put StringHash.h in header, but needed to put
in source file.
BUG=601282
==========
to
==========
Move StringHash.h include to OriginTrialContext.h
This is a follow-up patch for r386009.
We added StringHash.h include in OriginTrial.h to fix build before.
However, this is used for HashSet<String>, and actually
OriginTrialContext.h has HashSet<String>.
So, we should have added StirngHash.h in OriginTrialContext.h
instead of OriginTrials.h.
BUG=601282
==========
shinyak@chromium.org changed reviewers: + rbyers@chromium.org
PTAL?
This lgtm, thanks!
lgtm
The CQ bit was checked by shinyak@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879993002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
shinyak@chromium.org changed reviewers: + haraken@chromium.org
+rbyers +haraken for OWNER review because https://codereview.chromium.org/1635593004 is reviewed by rbyers and haraken.
LGTM
The CQ bit was checked by shinyak@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879993002/20001
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from
==========
Move StringHash.h include to OriginTrialContext.h
This is a follow-up patch for r386009.
We added StringHash.h include in OriginTrial.h to fix build before.
However, this is used for HashSet<String>, and actually
OriginTrialContext.h has HashSet<String>.
So, we should have added StirngHash.h in OriginTrialContext.h
instead of OriginTrials.h.
BUG=601282
==========
to
==========
Move StringHash.h include to OriginTrialContext.h
This is a follow-up patch for r386009.
We added StringHash.h include in OriginTrial.h to fix build before.
However, this is used for HashSet<String>, and actually
OriginTrialContext.h has HashSet<String>.
So, we should have added StirngHash.h in OriginTrialContext.h
instead of OriginTrials.h.
BUG=601282
Committed: https://crrev.com/079a5f825dc266bc78beab35ba1baa54fb363088
Cr-Commit-Position: refs/heads/master@{#387535}
==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/079a5f825dc266bc78beab35ba1baa54fb363088 Cr-Commit-Position: refs/heads/master@{#387535} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
