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

Issue 501263002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/api/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, kinuko+fileapi, nhiroki, tfarina, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/api/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/1ebd8d84f8f9c9c14000b0b67f28a772f535714a Cr-Commit-Position: refs/heads/master@{#291831}

Patch Set 1 #

Patch Set 2 : Just in case #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -112 lines) Patch
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_private_apitest.cc View 5 chunks +12 lines, -14 lines 2 comments Download
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 25 chunks +25 lines, -25 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_apitest.cc View 5 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_api.cc View 2 chunks +2 lines, -2 lines 3 comments Download
M chrome/browser/extensions/api/debugger/debugger_apitest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/declarative/declarative_api.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/gcd_private/gcd_private_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/mdns/dns_sd_registry.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/permissions/permissions_api.cc View 3 chunks +6 lines, -6 lines 2 comments Download
M chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/storage/managed_value_store_cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_info/system_info_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_memory/memory_info_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_storage/storage_info_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_test.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + jyasskin@chromium.org
6 years, 4 months ago (2014-08-26 00:50:20 UTC) #1
dcheng
Unfortunately, we can't make scoped_refptr testable until the conversion operator has been removed. While it ...
6 years, 4 months ago (2014-08-26 00:50:20 UTC) #2
Jeffrey Yasskin
jyasskin@chromium.org changed reviewers: + rockot@chromium.org
6 years, 4 months ago (2014-08-26 00:57:51 UTC) #3
Jeffrey Yasskin
lgtm to avoid slowing you down, but there may be a bug in your script. ...
6 years, 4 months ago (2014-08-26 01:14:16 UTC) #4
dcheng
Do you think it'd make sense to add operator* to scoped_refptr? This would make it ...
6 years, 4 months ago (2014-08-26 01:26:01 UTC) #5
Jeffrey Yasskin
Ah, yes. Anything that implements operator-> or pretends to be a pointer should implement operator*. ...
6 years, 4 months ago (2014-08-26 01:34:50 UTC) #6
dcheng
On 2014/08/26 at 01:34:50, jyasskin wrote: > Ah, yes. Anything that implements operator-> or pretends ...
6 years, 4 months ago (2014-08-26 02:09:14 UTC) #7
Jeffrey Yasskin
On Mon, Aug 25, 2014 at 7:09 PM, <dcheng@chromium.org> wrote: > On 2014/08/26 at 01:34:50, ...
6 years, 4 months ago (2014-08-26 02:10:54 UTC) #8
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 4 months ago (2014-08-26 02:11:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/501263002/20001
6 years, 4 months ago (2014-08-26 02:12:50 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (20001) as c92bf28b7bcc899a352f0eba8518623711c91a3c
6 years, 4 months ago (2014-08-26 03:49:08 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:40:07 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1ebd8d84f8f9c9c14000b0b67f28a772f535714a
Cr-Commit-Position: refs/heads/master@{#291831}

Powered by Google App Engine
This is Rietveld 408576698