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

Issue 507483003: Remove implicit conversions from scoped_refptr to T* in chrome/browser/apps/ (Closed)

Created:
6 years, 3 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
benwells
CC:
chromium-reviews
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/apps/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/dfd9f99e7475ea2bc8ffb95a3fa7489e10bf730c Cr-Commit-Position: refs/heads/master@{#291865}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix compile #

Patch Set 3 : Fix compile error and propagate rewrites #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -25 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/apps/app_url_redirector.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/apps/app_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/drive/drive_app_converter.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/apps/drive/drive_app_converter_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/drive/drive_app_provider_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_launcher.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/apps/web_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/web_view_interactive_browsertest.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + benwells@chromium.org
6 years, 3 months ago (2014-08-26 00:18:25 UTC) #1
dcheng
Unfortunately, we can't make scoped_refptr testable until the conversion operator has been removed. While it ...
6 years, 3 months ago (2014-08-26 00:18:25 UTC) #2
benwells
https://codereview.chromium.org/507483003/diff/1/chrome/browser/apps/ephemeral_app_launcher.cc File chrome/browser/apps/ephemeral_app_launcher.cc (right): https://codereview.chromium.org/507483003/diff/1/chrome/browser/apps/ephemeral_app_launcher.cc#newcode407 chrome/browser/apps/ephemeral_app_launcher.cc:407: const scoped_refptr<Extension> extension = GetLocalizedExtensionForDisplay(); On 2014/08/26 00:18:25, dcheng ...
6 years, 3 months ago (2014-08-26 05:22:22 UTC) #3
dcheng
PTAL https://codereview.chromium.org/507483003/diff/1/chrome/browser/apps/ephemeral_app_launcher.cc File chrome/browser/apps/ephemeral_app_launcher.cc (right): https://codereview.chromium.org/507483003/diff/1/chrome/browser/apps/ephemeral_app_launcher.cc#newcode408 chrome/browser/apps/ephemeral_app_launcher.cc:408: if (!extension) { On 2014/08/26 05:22:21, benwells wrote: ...
6 years, 3 months ago (2014-08-26 05:28:06 UTC) #4
benwells
lgtm
6 years, 3 months ago (2014-08-26 05:37:28 UTC) #5
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 05:39:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/507483003/40001
6 years, 3 months ago (2014-08-26 05:40:56 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-26 06:38:55 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (40001) as bc1d23d7e2890195701ea1e8e04adbb33fe45796
6 years, 3 months ago (2014-08-26 07:59:29 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:41:21 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dfd9f99e7475ea2bc8ffb95a3fa7489e10bf730c
Cr-Commit-Position: refs/heads/master@{#291865}

Powered by Google App Engine
This is Rietveld 408576698