Implement value forward constructor.

So, older constructors taking const T& or T&& is removed.

BUG=784732
TEST=Ran trybot.

Change-Id: I806b1880bf3bd2bd25da764f7592299a1a742366
Reviewed-on: https://chromium-review.googlesource.com/856380
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538032}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 14f92bee690d0b1884864db08f3e7f03abc85c00
3 files changed
tree: b8e2f26b77a6ceab9a4fc9af187503ec6a4bf3bc
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. PRESUBMIT.py
  5. allocator/
  6. android/
  7. at_exit.cc
  8. at_exit.h
  9. at_exit_unittest.cc
  10. atomic_ref_count.h
  11. atomic_sequence_num.h
  12. atomicops.h
  13. atomicops_internals_atomicword_compat.h
  14. atomicops_internals_portable.h
  15. atomicops_internals_x86_msvc.h
  16. atomicops_unittest.cc
  17. auto_reset.h
  18. barrier_closure.cc
  19. barrier_closure.h
  20. barrier_closure_unittest.cc
  21. base64.cc
  22. base64.h
  23. base64_decode_fuzzer.cc
  24. base64_encode_fuzzer.cc
  25. base64_unittest.cc
  26. base64url.cc
  27. base64url.h
  28. base64url_unittest.cc
  29. base_export.h
  30. base_paths.cc
  31. base_paths.h
  32. base_paths_android.cc
  33. base_paths_android.h
  34. base_paths_fuchsia.cc
  35. base_paths_fuchsia.h
  36. base_paths_mac.h
  37. base_paths_mac.mm
  38. base_paths_posix.cc
  39. base_paths_posix.h
  40. base_paths_win.cc
  41. base_paths_win.h
  42. base_switches.cc
  43. base_switches.h
  44. big_endian.cc
  45. big_endian.h
  46. big_endian_unittest.cc
  47. bind.h
  48. bind_helpers.cc
  49. bind_helpers.h
  50. bind_internal.h
  51. bind_unittest.cc
  52. bind_unittest.nc
  53. bit_cast.h
  54. bit_cast_unittest.cc
  55. bits.h
  56. bits_unittest.cc
  57. build_time.cc
  58. build_time.h
  59. build_time_unittest.cc
  60. callback.h
  61. callback_forward.h
  62. callback_helpers.cc
  63. callback_helpers.h
  64. callback_helpers_unittest.cc
  65. callback_internal.cc
  66. callback_internal.h
  67. callback_list.h
  68. callback_list_unittest.cc
  69. callback_list_unittest.nc
  70. callback_unittest.cc
  71. callback_unittest.nc
  72. cancelable_callback.h
  73. cancelable_callback_unittest.cc
  74. check_example.cc
  75. command_line.cc
  76. command_line.h
  77. command_line_unittest.cc
  78. compiler_specific.h
  79. component_export.h
  80. component_export_unittest.cc
  81. containers/
  82. cpu.cc
  83. cpu.h
  84. cpu_unittest.cc
  85. critical_closure.h
  86. critical_closure_internal_ios.mm
  87. debug/
  88. deferred_sequenced_task_runner.cc
  89. deferred_sequenced_task_runner.h
  90. deferred_sequenced_task_runner_unittest.cc
  91. environment.cc
  92. environment.h
  93. environment_unittest.cc
  94. event_types.h
  95. export_template.h
  96. feature_list.cc
  97. feature_list.h
  98. feature_list_unittest.cc
  99. file_descriptor_posix.h
  100. file_descriptor_store.cc
  101. file_descriptor_store.h
  102. file_version_info.h
  103. file_version_info_mac.h
  104. file_version_info_mac.mm
  105. file_version_info_win.cc
  106. file_version_info_win.h
  107. file_version_info_win_unittest.cc
  108. files/
  109. format_macros.h
  110. fuchsia/
  111. gmock_unittest.cc
  112. gtest_prod_util.h
  113. guid.cc
  114. guid.h
  115. guid_unittest.cc
  116. hash.cc
  117. hash.h
  118. hash_unittest.cc
  119. i18n/
  120. ios/
  121. json/
  122. lazy_instance.h
  123. lazy_instance_helpers.cc
  124. lazy_instance_helpers.h
  125. lazy_instance_unittest.cc
  126. linux_util.cc
  127. linux_util.h
  128. location.cc
  129. location.h
  130. logging.cc
  131. logging.h
  132. logging_unittest.cc
  133. logging_win.cc
  134. logging_win.h
  135. mac/
  136. macros.h
  137. md5.cc
  138. md5.h
  139. md5_unittest.cc
  140. memory/
  141. message_loop/
  142. metrics/
  143. native_library.cc
  144. native_library.h
  145. native_library_ios.mm
  146. native_library_mac.mm
  147. native_library_posix.cc
  148. native_library_unittest.cc
  149. native_library_win.cc
  150. nix/
  151. no_destructor.h
  152. no_destructor_unittest.cc
  153. numerics/
  154. observer_list.h
  155. observer_list_threadsafe.cc
  156. observer_list_threadsafe.h
  157. observer_list_unittest.cc
  158. optional.h
  159. optional_unittest.cc
  160. optional_unittest.nc
  161. os_compat_android.cc
  162. os_compat_android.h
  163. os_compat_android_unittest.cc
  164. os_compat_nacl.cc
  165. os_compat_nacl.h
  166. path_service.cc
  167. path_service.h
  168. path_service_unittest.cc
  169. pending_task.cc
  170. pending_task.h
  171. pending_task_unittest.cc
  172. pickle.cc
  173. pickle.h
  174. pickle_unittest.cc
  175. posix/
  176. post_task_and_reply_with_result_internal.h
  177. power_monitor/
  178. process/
  179. profiler/
  180. rand_util.cc
  181. rand_util.h
  182. rand_util_fuchsia.cc
  183. rand_util_nacl.cc
  184. rand_util_posix.cc
  185. rand_util_unittest.cc
  186. rand_util_win.cc
  187. run_loop.cc
  188. run_loop.h
  189. run_loop_unittest.cc
  190. safe_numerics_unittest.cc
  191. scoped_clear_errno.h
  192. scoped_clear_errno_unittest.cc
  193. scoped_generic.h
  194. scoped_generic_unittest.cc
  195. scoped_native_library.cc
  196. scoped_native_library.h
  197. scoped_native_library_unittest.cc
  198. scoped_observer.h
  199. security_unittest.cc
  200. sequence_checker.h
  201. sequence_checker_impl.cc
  202. sequence_checker_impl.h
  203. sequence_checker_unittest.cc
  204. sequence_token.cc
  205. sequence_token.h
  206. sequence_token_unittest.cc
  207. sequenced_task_runner.cc
  208. sequenced_task_runner.h
  209. sequenced_task_runner_helpers.h
  210. sequenced_task_runner_unittest.cc
  211. sha1.cc
  212. sha1.h
  213. sha1_unittest.cc
  214. single_thread_task_runner.h
  215. stl_util.h
  216. stl_util_unittest.cc
  217. strings/
  218. supports_user_data.cc
  219. supports_user_data.h
  220. supports_user_data_unittest.cc
  221. sync_socket.h
  222. sync_socket_nacl.cc
  223. sync_socket_posix.cc
  224. sync_socket_unittest.cc
  225. sync_socket_win.cc
  226. synchronization/
  227. sys_byteorder.h
  228. sys_byteorder_unittest.cc
  229. sys_info.cc
  230. sys_info.h
  231. sys_info_android.cc
  232. sys_info_chromeos.cc
  233. sys_info_freebsd.cc
  234. sys_info_fuchsia.cc
  235. sys_info_internal.h
  236. sys_info_ios.mm
  237. sys_info_linux.cc
  238. sys_info_mac.mm
  239. sys_info_openbsd.cc
  240. sys_info_posix.cc
  241. sys_info_unittest.cc
  242. sys_info_win.cc
  243. syslog_logging.cc
  244. syslog_logging.h
  245. system_monitor/
  246. task/
  247. task_runner.cc
  248. task_runner.h
  249. task_runner_util.h
  250. task_runner_util_unittest.cc
  251. task_scheduler/
  252. template_util.h
  253. template_util_unittest.cc
  254. test/
  255. third_party/
  256. thread_annotations.h
  257. thread_annotations_unittest.cc
  258. thread_annotations_unittest.nc
  259. threading/
  260. time/
  261. timer/
  262. tools_sanity_unittest.cc
  263. trace_event/
  264. tuple.h
  265. tuple_unittest.cc
  266. unguessable_token.cc
  267. unguessable_token.h
  268. unguessable_token_unittest.cc
  269. value_conversions.cc
  270. value_conversions.h
  271. value_iterators.cc
  272. value_iterators.h
  273. value_iterators_unittest.cc
  274. values.cc
  275. values.h
  276. values_unittest.cc
  277. version.cc
  278. version.h
  279. version_unittest.cc
  280. vlog.cc
  281. vlog.h
  282. vlog_unittest.cc
  283. win/