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

Issue 2599673005: arc: Use GET_INTERFACE_FOR_METHOD macro (Closed)

Created:
4 years ago by Luis Héctor Chávez
Modified:
3 years, 11 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, cbentzel+watch_chromium.org, ejcaruso+watch_chromium.org, yusukes+watch_chromium.org, abhishekbh_chromium.org, tzik, posciak+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, Sameer Nanda, nhiroki, khmel+watch_chromium.org, lhchavez+watch_chromium.org, dcheng, oshima+watch_chromium.org, Kevin Cernekee, kinuko+fileapi, davemoore+watch_chromium.org, Matt Giuca
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Use GET_INTERFACE_FOR_METHOD macro Now that Mojo can generate the min_version information automatically, migrate arc::InstanceHolder<T>::GetInterfaceForMethod() to GET_INTERFACE_FOR_METHOD(), which does not require the explicit version number to be passed. BUG=649782 TEST=git try Committed: https://crrev.com/0843b0c2e8dcb65871f1c2be55dcd1198124666a Cr-Commit-Position: refs/heads/master@{#441464}

Patch Set 1 #

Patch Set 2 : Rebase + removed unused constant #

Patch Set 3 : Removed dependent patchset #

Patch Set 4 : Rebase again #

Patch Set 5 : Added a conversion I missed #

Total comments: 9

Patch Set 6 : Fixed a dumb typo #

Patch Set 7 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -286 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 5 6 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_service.cc View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/arc/policy/arc_policy_bridge.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/print/arc_print_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/arc/process/arc_process_service.cc View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/tts/arc_tts_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc View 1 2 3 4 5 6 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/note_taking_helper.cc View 1 2 3 4 5 6 4 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/memory/tab_manager_delegate_chromeos.cc View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/speech/tts_chromeos.cc View 1 2 3 4 5 6 3 chunks +12 lines, -21 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_arc_package_helper.cc View 1 2 3 4 5 6 1 chunk +8 lines, -10 lines 0 comments Download
M chrome/browser/task_manager/providers/arc/arc_process_task.cc View 1 2 3 4 5 6 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc View 1 2 3 4 5 6 5 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_utils.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc View 1 2 3 4 5 6 3 chunks +4 lines, -7 lines 0 comments Download
M components/arc/audio/arc_audio_bridge.cc View 1 2 3 4 5 6 3 chunks +3 lines, -12 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 3 4 5 6 27 chunks +51 lines, -76 lines 0 comments Download
M components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M components/arc/clipboard/arc_clipboard_bridge.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M components/arc/crash_collector/arc_crash_collector_bridge.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M components/arc/ime/arc_ime_bridge_impl.cc View 1 2 3 4 5 6 7 chunks +9 lines, -12 lines 0 comments Download
M components/arc/instance_holder.h View 1 2 3 4 5 6 5 chunks +17 lines, -8 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M components/arc/kiosk/arc_kiosk_bridge.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/arc/metrics/arc_metrics_service.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M components/arc/net/arc_net_host_impl.cc View 1 2 3 4 5 6 6 chunks +10 lines, -12 lines 0 comments Download
M components/arc/obb_mounter/arc_obb_mounter_bridge.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/arc/power/arc_power_bridge.cc View 1 2 3 4 5 6 3 chunks +3 lines, -10 lines 0 comments Download
M components/arc/storage_manager/arc_storage_manager.cc View 1 2 3 4 5 6 4 chunks +6 lines, -11 lines 0 comments Download
M ui/arc/notification/arc_notification_manager.cc View 1 2 3 4 5 6 7 chunks +11 lines, -23 lines 0 comments Download

Messages

Total messages: 46 (32 generated)
Luis Héctor Chávez
PTAL yusukes@: */arc/* afakhry@: chrome/browser/task_manager georgesak@: chrome/browser/memory dmazzoni@: chrome/browser/speech xiyuan@: chrome/browser
4 years ago (2016-12-22 22:02:49 UTC) #4
Luis Héctor Chávez
+yzshen@ FYI
4 years ago (2016-12-22 22:04:06 UTC) #6
xiyuan
c/b lgtm
4 years ago (2016-12-22 23:12:22 UTC) #9
dmazzoni
chrome/browser/speech lgtm
3 years, 11 months ago (2016-12-28 17:26:19 UTC) #10
afakhry
c/b/task_manager lgtm
3 years, 11 months ago (2017-01-03 17:17:52 UTC) #11
Georges Khalil
chrome/browser/memory lgtm
3 years, 11 months ago (2017-01-03 19:29:36 UTC) #18
Luis Héctor Chávez
+maxbogue@ for chrome/browser/sync/test/
3 years, 11 months ago (2017-01-04 19:04:09 UTC) #22
maxbogue
chrome/browser/sync/test/ lgtm
3 years, 11 months ago (2017-01-04 19:06:02 UTC) #25
Yusuke Sato
nice! Thanks for doing this. https://codereview.chromium.org/2599673005/diff/80001/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc File chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc (right): https://codereview.chromium.org/2599673005/diff/80001/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc#newcode32 chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc:32: mojom::FileSystemInstance* GetFileSystemInstance( Can you ...
3 years, 11 months ago (2017-01-04 19:59:13 UTC) #30
Luis Héctor Chávez
https://codereview.chromium.org/2599673005/diff/80001/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc File chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc (right): https://codereview.chromium.org/2599673005/diff/80001/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc#newcode32 chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc:32: mojom::FileSystemInstance* GetFileSystemInstance( On 2017/01/04 19:59:12, Yusuke Sato (ooo Dec ...
3 years, 11 months ago (2017-01-04 20:38:56 UTC) #34
Yusuke Sato
lgtm
3 years, 11 months ago (2017-01-04 20:45:41 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2599673005/120001
3 years, 11 months ago (2017-01-04 21:07:44 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:120001)
3 years, 11 months ago (2017-01-04 21:13:03 UTC) #44
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 21:14:40 UTC) #46
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0843b0c2e8dcb65871f1c2be55dcd1198124666a
Cr-Commit-Position: refs/heads/master@{#441464}

Powered by Google App Engine
This is Rietveld 408576698