memory-infra: clean up order of callback arguments

Minor non-functional cleanup. Just makes the order of
memory-infra API consistent.
Also this CL removes some unused old-style IPC messages
that we forgot to cleanup as part of the mojoification.

BUG=735849
TBR=asvitkine,xunjieli

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