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

Issue 2609213002: SigninStatusMetricsProvider factory returns a std::unique_ptr<>. (Closed)

Created:
3 years, 11 months ago by sdefresne
Modified:
3 years, 11 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), noyau+watch_chromium.org, asvitkine+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SigninStatusMetricsProvider factory returns a std::unique_ptr<>. Since SigninStatusMetricsProvider::CreateInstance returns a newly created object owned by the caller, enforce this by returning a std::unique_ptr<> instead of a raw pointer. Remove unnecessary calls to base::WrapUnique() after this API change. BUG=None Committed: https://crrev.com/a1b6a7e45fe530ca5e3c5ab026aa35cb2b2e05da Cr-Commit-Position: refs/heads/master@{#441375}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/signin/chrome_signin_status_metrics_provider_delegate_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/signin_status_metrics_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/signin_status_metrics_provider.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm View 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 22 (14 generated)
sdefresne
Can you take a look as OWNERS of the updated API?
3 years, 11 months ago (2017-01-03 17:44:11 UTC) #4
Avi (use Gerrit)
drive-by woot Woot!
3 years, 11 months ago (2017-01-03 17:45:48 UTC) #5
msarda
lgtm
3 years, 11 months ago (2017-01-04 09:59:12 UTC) #9
sdefresne
asvitkine: can you review as OWNERS of chrome/browser/metrics?
3 years, 11 months ago (2017-01-04 13:45:16 UTC) #14
Alexei Svitkine (slow)
lgtm
3 years, 11 months ago (2017-01-04 15:05:44 UTC) #15
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/2609213002/1
3 years, 11 months ago (2017-01-04 15:10:05 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2017-01-04 15:14:50 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 15:16:54 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a1b6a7e45fe530ca5e3c5ab026aa35cb2b2e05da
Cr-Commit-Position: refs/heads/master@{#441375}

Powered by Google App Engine
This is Rietveld 408576698