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

Issue 506633004: Remove implicit conversions from scoped_refptr to T* in components/policy/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
bartfab (slow)
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 components/policy/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/28fa7ca627e09e89ba0290edc2ba2693c09497b7 Cr-Commit-Position: refs/heads/master@{#291928}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add include #

Patch Set 3 : Some more changes #

Total comments: 3

Messages

Total messages: 24 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + bartfab@chromium.org
6 years, 4 months ago (2014-08-25 19:36:28 UTC) #1
dcheng
+bartfab, please take a look at this patch. It's a change generated by a ClangTool, ...
6 years, 4 months ago (2014-08-25 19:36:29 UTC) #2
bartfab (slow)
LGTM with one nit. https://codereview.chromium.org/506633004/diff/1/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h File components/policy/core/common/cloud/cloud_policy_client_registration_helper.h (right): https://codereview.chromium.org/506633004/diff/1/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h#newcode110 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h:110: scoped_refptr<net::URLRequestContextGetter> context_; Nit: #include "base/memory/ref_counted.h"
6 years, 4 months ago (2014-08-25 19:39:13 UTC) #3
dcheng
https://codereview.chromium.org/506633004/diff/1/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h File components/policy/core/common/cloud/cloud_policy_client_registration_helper.h (right): https://codereview.chromium.org/506633004/diff/1/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h#newcode110 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h:110: scoped_refptr<net::URLRequestContextGetter> context_; On 2014/08/25 19:39:13, bartfab wrote: > Nit: ...
6 years, 4 months ago (2014-08-25 20:59:59 UTC) #4
dcheng
PTAL. There are some additional diffs in cloud_policy_client_registration_helper.cc now, due to the fact that context_ ...
6 years, 4 months ago (2014-08-25 21:07:00 UTC) #5
bartfab (slow)
https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc File components/policy/core/common/cloud/device_management_service_unittest.cc (right): https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc#newcode81 components/policy/core/common/cloud/device_management_service_unittest.cc:81: DeviceManagementRequestJob::TYPE_REGISTRATION, request_context_.get()); Why not make the DeviceManagementRequestJob take a ...
6 years, 4 months ago (2014-08-25 22:09:18 UTC) #6
dcheng
https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc File components/policy/core/common/cloud/device_management_service_unittest.cc (right): https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc#newcode81 components/policy/core/common/cloud/device_management_service_unittest.cc:81: DeviceManagementRequestJob::TYPE_REGISTRATION, request_context_.get()); On 2014/08/25 22:09:18, bartfab wrote: > Why ...
6 years, 4 months ago (2014-08-25 22:11:56 UTC) #7
bartfab (slow)
lgtm https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc File components/policy/core/common/cloud/device_management_service_unittest.cc (right): https://codereview.chromium.org/506633004/diff/40001/components/policy/core/common/cloud/device_management_service_unittest.cc#newcode81 components/policy/core/common/cloud/device_management_service_unittest.cc:81: DeviceManagementRequestJob::TYPE_REGISTRATION, request_context_.get()); On 2014/08/25 22:11:56, dcheng (OOO) wrote: ...
6 years, 3 months ago (2014-08-26 10:11:55 UTC) #8
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 15:00: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/506633004/40001
6 years, 3 months ago (2014-08-26 15:01:52 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 17:31:26 UTC) #11
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-26 17:31:27 UTC) #12
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 17:41:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/506633004/40001
6 years, 3 months ago (2014-08-26 17:42:13 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 17:43:36 UTC) #15
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-26 17:43:37 UTC) #16
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 17:45:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/506633004/40001
6 years, 3 months ago (2014-08-26 17:46:27 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 17:47:36 UTC) #19
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-26 17:47:37 UTC) #20
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 17:48:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/506633004/40001
6 years, 3 months ago (2014-08-26 17:50:01 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (40001) as b3d2ce358e2413436505772727e4c3cc9d466be9
6 years, 3 months ago (2014-08-26 17:51:31 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:43:38 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/28fa7ca627e09e89ba0290edc2ba2693c09497b7
Cr-Commit-Position: refs/heads/master@{#291928}

Powered by Google App Engine
This is Rietveld 408576698