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

Issue 2137013005: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed)

Created:
4 years, 5 months ago by Devlin
Modified:
4 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Code Cleanup - Remove redundant smart-ptr get()s Given std::unique_ptr<T> t, t.get()-> is the same as t->. Similarly, *t.get() is the same as *t. Simplify extensions code to conform. BUG=None Committed: https://crrev.com/e842df6a33a41f352d75f84b09935766f4f58b69 Cr-Commit-Position: refs/heads/master@{#405277}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -169 lines) Patch
M extensions/browser/api/alarms/alarm_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/app_window/app_window_api.cc View 4 chunks +19 lines, -19 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_apitest.cc View 2 chunks +19 lines, -22 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_private_api.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_private_apitest.cc View 7 chunks +25 lines, -22 lines 0 comments Download
M extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M extensions/browser/api/bluetooth_socket/bluetooth_socket_apitest.cc View 5 chunks +14 lines, -14 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_framer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/browser/api/device_permissions_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/document_scan/document_scan_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/management/management_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_apitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/serial/serial_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/socket/socket_api.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/socket/tls_socket.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/sockets_tcp/sockets_tcp_api.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc View 4 chunks +6 lines, -8 lines 0 comments Download
M extensions/browser/api/sockets_udp/sockets_udp_api.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/api/usb/usb_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/usb/usb_apitest.cc View 3 chunks +24 lines, -31 lines 0 comments Download
M extensions/browser/api_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_throttle_simulation_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/mime_handler_view/test_mime_handler_view_guest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/value_store/value_store_frontend.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
Devlin
Simple cleanup. :)
4 years, 5 months ago (2016-07-12 18:08:09 UTC) #3
asargent_no_longer_on_chrome
lgtm BTW, did you find these with something like clang-tidy, or just find them "by ...
4 years, 5 months ago (2016-07-12 22:30:59 UTC) #4
Devlin
On 2016/07/12 22:30:59, Antony Sargent wrote: > lgtm > > BTW, did you find these ...
4 years, 5 months ago (2016-07-12 22:33:06 UTC) #5
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/2137013005/1
4 years, 5 months ago (2016-07-13 19:02:30 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 20:27:57 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 20:28:01 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 20:31:15 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e842df6a33a41f352d75f84b09935766f4f58b69
Cr-Commit-Position: refs/heads/master@{#405277}

Powered by Google App Engine
This is Rietveld 408576698