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

Issue 1441543002: Make vector_as_array use std::vector::data and switch a few directories. (Closed)

Created:
5 years, 1 month ago by davidben
Modified:
5 years, 1 month ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, grt+watch_chromium.org, vmpstr+watch_chromium.org, Mark Mentovai
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make vector_as_array use std::vector::data and switch a few directories. Get //base and //crypto. This revealed an IWYU problem in //components/policy, so go and convert that too. BUG=556678 Committed: https://crrev.com/4507eaa1a845d080078f4e3e5ee2dd2bb1716e3e Cr-Commit-Position: refs/heads/master@{#360639}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : IWYU fix #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : rebase, update //styleguide #

Total comments: 3

Patch Set 7 : use in //base headers too #

Total comments: 3

Patch Set 8 : mark comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -46 lines) Patch
M base/stl_util.h View 5 6 7 1 chunk +3 lines, -5 lines 0 comments Download
M base/trace_event/process_memory_dump.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M base/win/registry.h View 5 6 2 chunks +1 line, -2 lines 0 comments Download
M base/win/registry.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_validator_unittest.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M components/policy/core/common/cloud/policy_builder.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M components/policy/core/common/policy_loader_win_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M components/policy/core/common/preg_parser_win.cc View 1 2 3 5 chunks +4 lines, -4 lines 0 comments Download
M components/policy/core/common/schema.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M crypto/hmac_openssl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M crypto/nss_key_util.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M crypto/signature_creator_openssl.cc View 1 3 chunks +2 lines, -3 lines 0 comments Download
M crypto/signature_verifier_openssl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M styleguide/c++/c++11.html View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (10 generated)
danakj
https://codereview.chromium.org/1441543002/diff/60001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/1441543002/diff/60001/base/stl_util.h#newcode101 base/stl_util.h:101: // Deprecated: Use v.data() instead. Can you just delete ...
5 years, 1 month ago (2015-11-14 00:39:01 UTC) #5
davidben
+cschuet for components/policy https://codereview.chromium.org/1441543002/diff/60001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/1441543002/diff/60001/base/stl_util.h#newcode101 base/stl_util.h:101: // Deprecated: Use v.data() instead. On ...
5 years, 1 month ago (2015-11-16 21:27:38 UTC) #7
danakj
https://codereview.chromium.org/1441543002/diff/60001/base/win/registry.h File base/win/registry.h (right): https://codereview.chromium.org/1441543002/diff/60001/base/win/registry.h#newcode182 base/win/registry.h:182: const wchar_t* Value() const { return value_.data(); } On ...
5 years, 1 month ago (2015-11-16 21:38:37 UTC) #9
danakj
https://codereview.chromium.org/1441543002/diff/100001/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/1441543002/diff/100001/styleguide/c++/c++11.html#newcode281 styleguide/c++/c++11.html:281: <td>May not be used in <code>//base</code> headers yet (<a ...
5 years, 1 month ago (2015-11-16 21:39:48 UTC) #10
davidben
https://codereview.chromium.org/1441543002/diff/60001/base/win/registry.h File base/win/registry.h (right): https://codereview.chromium.org/1441543002/diff/60001/base/win/registry.h#newcode182 base/win/registry.h:182: const wchar_t* Value() const { return value_.data(); } On ...
5 years, 1 month ago (2015-11-16 21:55:37 UTC) #11
Mark Mentovai
https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h#newcode104 base/stl_util.h:104: return v->empty() ? NULL : &*v->begin(); I was expecting ...
5 years, 1 month ago (2015-11-16 22:16:29 UTC) #13
danakj
LGTM https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h#newcode104 base/stl_util.h:104: return v->empty() ? NULL : &*v->begin(); On 2015/11/16 ...
5 years, 1 month ago (2015-11-16 22:24:44 UTC) #14
davidben
https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/1441543002/diff/120001/base/stl_util.h#newcode104 base/stl_util.h:104: return v->empty() ? NULL : &*v->begin(); On 2015/11/16 22:16:29, ...
5 years, 1 month ago (2015-11-16 22:57:30 UTC) #15
Mark Mentovai
LGTM in base, but you already had Dana for that.
5 years, 1 month ago (2015-11-16 23:16:56 UTC) #16
davidben
cschuet: friendly ping
5 years, 1 month ago (2015-11-17 22:43:03 UTC) #17
davidben
+atwilson for components/policy. It should be pretty easy to review.
5 years, 1 month ago (2015-11-18 19:23:52 UTC) #19
davidben
cschuet or atwilson: Friendly ping while our time zones still align.
5 years, 1 month ago (2015-11-19 17:03:10 UTC) #20
cschuet (SLOW)
On 2015/11/19 17:03:10, davidben (slow) wrote: > cschuet or atwilson: Friendly ping while our time ...
5 years, 1 month ago (2015-11-19 17:16:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441543002/140001
5 years, 1 month ago (2015-11-19 17:25:27 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-19 19:07:13 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 19:09:05 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4507eaa1a845d080078f4e3e5ee2dd2bb1716e3e
Cr-Commit-Position: refs/heads/master@{#360639}

Powered by Google App Engine
This is Rietveld 408576698