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

Issue 1774443002: Replace template_util.h stuff with C++11 <type_traits> (Closed)

Created:
4 years, 9 months ago by tzik
Modified:
4 years, 9 months ago
CC:
chromium-reviews, gavinp+memory_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

Replace template_util.h stuff with C++11 <type_traits> BUG=554293 Committed: https://crrev.com/403cb6c9b17343999f09df79b82b56e77bd93839 Cr-Commit-Position: refs/heads/master@{#380369}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : fix non-Linux build #

Patch Set 4 : fix Windows build #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : moved {Yes,No}Type to callback_internal. +crashpad compat. removed an OS_WIN. #

Patch Set 8 : +HidConnectionWin fix #

Patch Set 9 : revert unrelated whitespace change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -259 lines) Patch
M base/android/scoped_java_ref.h View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M base/bind_helpers.h View 1 2 3 4 3 chunks +7 lines, -8 lines 0 comments Download
M base/bind_internal.h View 1 8 chunks +9 lines, -9 lines 0 comments Download
M base/callback.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M base/callback_internal.h View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M base/memory/raw_scoped_refptr_mismatch_checker.h View 1 2 3 4 5 6 2 chunks +6 lines, -12 lines 0 comments Download
M base/memory/scoped_ptr.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M base/memory/weak_ptr.h View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M base/numerics/safe_numerics_unittest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M base/template_util.h View 1 2 3 4 5 6 1 chunk +4 lines, -106 lines 0 comments Download
M base/template_util_unittest.cc View 1 1 chunk +0 lines, -88 lines 0 comments Download
M chrome/chrome_watcher/chrome_watcher_main.cc View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M device/hid/hid_service_win.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M extensions/common/permissions/base_set_operators.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M gin/object_template_builder.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M gin/wrappable.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M google_apis/drive/test_util.h View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M net/socket/client_socket_pool.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M net/socket/client_socket_pool_manager_impl.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M sandbox/linux/services/credentials.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M sandbox/linux/services/namespace_utils.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/crashpad/README.chromium View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/crashpad/crashpad/util/win/process_info.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 62 (30 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/20001
4 years, 9 months ago (2016-03-07 06:50:04 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/140955) ios_rel_device_ninja on ...
4 years, 9 months ago (2016-03-07 06:58:34 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/40001
4 years, 9 months ago (2016-03-07 07:14:03 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/155742)
4 years, 9 months ago (2016-03-07 07:58:31 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/60001
4 years, 9 months ago (2016-03-07 08:00:40 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/178637)
4 years, 9 months ago (2016-03-07 08:42:38 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/80001
4 years, 9 months ago (2016-03-07 12:11:33 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/155785)
4 years, 9 months ago (2016-03-07 13:29:19 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/100001
4 years, 9 months ago (2016-03-07 14:26:07 UTC) #19
tzik
C++11 <type_traits> seems to be able to replace most of our base/template_util.h. Can we replace ...
4 years, 9 months ago (2016-03-07 16:06:45 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/184900)
4 years, 9 months ago (2016-03-07 16:44:09 UTC) #23
danakj
LGTM https://codereview.chromium.org/1774443002/diff/100001/base/memory/raw_scoped_refptr_mismatch_checker.h File base/memory/raw_scoped_refptr_mismatch_checker.h (right): https://codereview.chromium.org/1774443002/diff/100001/base/memory/raw_scoped_refptr_mismatch_checker.h#newcode29 base/memory/raw_scoped_refptr_mismatch_checker.h:29: #if defined(OS_WIN) Is this still needed? https://codereview.chromium.org/1774443002/diff/100001/base/memory/weak_ptr.h File ...
4 years, 9 months ago (2016-03-08 00:23:36 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/120001
4 years, 9 months ago (2016-03-08 07:39:14 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/185575)
4 years, 9 months ago (2016-03-08 08:44:00 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/140001
4 years, 9 months ago (2016-03-08 08:50:47 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 12:24:25 UTC) #32
tzik
Adding owners of each directories. Could you guys take a look to this? jochen: //chrome, ...
4 years, 9 months ago (2016-03-08 13:13:51 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/160001
4 years, 9 months ago (2016-03-08 13:31:31 UTC) #41
mdempsky
lgtm for sandbox/linux
4 years, 9 months ago (2016-03-08 13:42:18 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 15:04:47 UTC) #44
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-08 16:02:31 UTC) #45
scottmg
lgtm (crashpad changes upstreamed at https://chromium-review.googlesource.com/c/331287/)
4 years, 9 months ago (2016-03-08 16:44:04 UTC) #46
Reilly Grant (use Gerrit)
//device, //extensions lgtm
4 years, 9 months ago (2016-03-08 18:12:58 UTC) #47
mmenke
tzik: I don't see any net/ changes. Am I missing something? Also, I have no ...
4 years, 9 months ago (2016-03-09 16:57:23 UTC) #48
mmenke
On 2016/03/09 16:57:23, mmenke wrote: > tzik: I don't see any net/ changes. Am I ...
4 years, 9 months ago (2016-03-09 17:09:08 UTC) #49
mmenke
net/ LGTM
4 years, 9 months ago (2016-03-09 17:12:19 UTC) #50
yoshiki
lgtm google_apis/
4 years, 9 months ago (2016-03-10 03:42:49 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/160001
4 years, 9 months ago (2016-03-10 03:46:15 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/137549)
4 years, 9 months ago (2016-03-10 05:41:39 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774443002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774443002/160001
4 years, 9 months ago (2016-03-10 06:01:06 UTC) #58
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-10 07:17:35 UTC) #60
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 07:19:19 UTC) #62
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/403cb6c9b17343999f09df79b82b56e77bd93839
Cr-Commit-Position: refs/heads/master@{#380369}

Powered by Google App Engine
This is Rietveld 408576698