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

Issue 367403002: Add missing Pass() calls for passing scoped_ptrs on Windows. (Closed)

Created:
6 years, 5 months ago by Nico
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tfarina, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : passas #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : grt #

Patch Set 5 : ... #

Patch Set 6 : :-( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -67 lines) Patch
M chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/installer/util/chrome_frame_distribution.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_binaries_distribution.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M components/policy/core/common/registry_dict_win.cc View 1 2 10 chunks +21 lines, -18 lines 0 comments Download
M components/policy/core/common/registry_dict_win_unittest.cc View 11 chunks +32 lines, -27 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/desktop_session_win.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/win/worker_process_launcher_unittest.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nico
That's how this is supposed to work, right? (Look for MOVE_ONLY_TYPE_FOR_CPP_03 in http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20Clang/builds/2288/steps/compile/logs/stdio . A ...
6 years, 5 months ago (2014-07-03 22:28:31 UTC) #1
Nico
Ah, these seem to all need PassAs<>() calls. Updating patch... On Thu, Jul 3, 2014 ...
6 years, 5 months ago (2014-07-03 22:37:48 UTC) #2
Nico
Ok, added PassAs<> calls where appropriate. joao: components/policy sergeyu: remoting awong: rest
6 years, 5 months ago (2014-07-03 22:50:10 UTC) #3
Sergey Ulanov
lgtm
6 years, 5 months ago (2014-07-04 01:02:30 UTC) #4
grt (UTC plus 2)
https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc File chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc (right): https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc#newcode138 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc:138: tray.SetStatusTrayStateChangerProxyForTest(make_scoped_ptr(proxy).Pass()); since SetStatusTrayStateChangerProxyForTest takes a scoped_ptr<StatusTrayStateChangerProxy>, doesn't this need ...
6 years, 5 months ago (2014-07-04 01:32:28 UTC) #5
Nico
https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc File chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc (right): https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc#newcode138 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc:138: tray.SetStatusTrayStateChangerProxyForTest(make_scoped_ptr(proxy).Pass()); On 2014/07/04 01:32:28, grt wrote: > since SetStatusTrayStateChangerProxyForTest ...
6 years, 5 months ago (2014-07-04 02:20:12 UTC) #6
Nico
https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc File chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc (right): https://codereview.chromium.org/367403002/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc#newcode138 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc:138: tray.SetStatusTrayStateChangerProxyForTest(make_scoped_ptr(proxy).Pass()); On 2014/07/04 02:20:12, Nico (away) wrote: > On ...
6 years, 5 months ago (2014-07-04 04:20:52 UTC) #7
Joao da Silva
policy lgtm
6 years, 5 months ago (2014-07-04 06:37:52 UTC) #8
Nico
awong: tbr'ing. If you have comments, I'll address them in a follow-up.
6 years, 5 months ago (2014-07-04 06:40:17 UTC) #9
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 5 months ago (2014-07-04 06:40:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/367403002/90001
6 years, 5 months ago (2014-07-04 06:41:11 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-04 06:42:14 UTC) #12
Message was sent while issue was closed.
Change committed as 281366

Powered by Google App Engine
This is Rietveld 408576698