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

Issue 1675483002: Allow use of container cbegin() and cend() methods, plus sample uses. (Closed)

Created:
4 years, 10 months ago by Peter Kasting
Modified:
4 years, 10 months ago
Reviewers:
Nico, sky
CC:
chromium-reviews, tfarina, danakj+watch_chromium.org, jbroman+cpp_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow use of container cbegin() and cend() methods, plus sample uses. This also fixes a small bug in the histogram recording of TabStripModelStatsRecorder::ActiveTabChanged() I spotted while doing this. BUG=none TEST=none Committed: https://crrev.com/a234a0774c1ae03eadcfba867891df8f822229f6 Cr-Commit-Position: refs/heads/master@{#374827}

Patch Set 1 #

Patch Set 2 : New sample uses #

Total comments: 2

Patch Set 3 : Add note about non-member cbegin() and cend(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -44 lines) Patch
M chrome/browser/ui/tabs/tab_strip_model_stats_recorder.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 1 2 chunks +5 lines, -6 lines 0 comments Download
M styleguide/c++/c++11.html View 1 2 3 chunks +12 lines, -15 lines 0 comments Download
M ui/views/view_unittest.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc View 1 2 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Peter Kasting
After saying I didn't have a personal reason to use these, the very next night ...
4 years, 10 months ago (2016-02-05 01:17:37 UTC) #2
Peter Kasting
Hmm. Irritatingly, it looks like libstdc++ 4.6 does not correctly support the C++11 specs for ...
4 years, 10 months ago (2016-02-05 01:38:14 UTC) #3
Peter Kasting
Uploaded with new sample uses. sky: Code review thakis: Style change review. Dana seemed OK ...
4 years, 10 months ago (2016-02-10 03:20:06 UTC) #6
sky
LGTM
4 years, 10 months ago (2016-02-10 16:51:24 UTC) #7
Nico
lgtm, this seems "obviously ok" :-) https://codereview.chromium.org/1675483002/diff/20001/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/1675483002/diff/20001/styleguide/c++/c++11.html#newcode378 styleguide/c++/c++11.html:378: <td>Applies to all ...
4 years, 10 months ago (2016-02-10 16:54:56 UTC) #8
Peter Kasting
https://codereview.chromium.org/1675483002/diff/20001/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/1675483002/diff/20001/styleguide/c++/c++11.html#newcode378 styleguide/c++/c++11.html:378: <td>Applies to all containers, not just <code>vector</code>. Consider using ...
4 years, 10 months ago (2016-02-11 00:44:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1675483002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1675483002/40001
4 years, 10 months ago (2016-02-11 00:46:00 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-11 01:36:05 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:33:49 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a234a0774c1ae03eadcfba867891df8f822229f6
Cr-Commit-Position: refs/heads/master@{#374827}

Powered by Google App Engine
This is Rietveld 408576698