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

Issue 2615433002: Remove ChromeBrowserProvider::IsOffTheRecordSessionActive(). (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

Remove ChromeBrowserProvider::IsOffTheRecordSessionActive(). The method can now be inlined at the call site as the implementation has been upstreamed. Removing the method and obsolete includes. Also remove the helper method ::IsOffTheRecordSessionActive and directly call the real implementation from BrowserListIOS. Convert naked "new" call initializing std::unique_ptr<> to instead use "base::MakeUnique" (ditto for "base::WrapUnique(new ...)"). BUG=676278 Committed: https://crrev.com/4f378a75463a07e4120477599a9e9600f9d2f4f3 Cr-Commit-Position: refs/heads/master@{#441373}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -413 lines) Patch
M ios/chrome/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/downstream_chromium_browser_provider.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/downstream_chromium_browser_provider.mm View 1 chunk +0 lines, -5 lines 0 comments Download
M ios/chrome/browser/metrics/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
D ios/chrome/browser/metrics/ios_chrome_metrics_service_client.cc View 1 chunk +0 lines, -320 lines 0 comments Download
A + ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm View 1 3 chunks +47 lines, -42 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_services_manager_client.mm View 4 chunks +5 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
D ios/chrome/browser/ui/browser_otr_state.h View 1 chunk +0 lines, -11 lines 0 comments Download
D ios/chrome/browser/ui/browser_otr_state.mm View 1 chunk +0 lines, -18 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.mm View 1 chunk +0 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
sdefresne
Please take a look.
3 years, 11 months ago (2017-01-03 17:34:32 UTC) #3
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2615433002/diff/1/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm File ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm (right): https://codereview.chromium.org/2615433002/diff/1/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm#newcode207 ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm:207: metrics_service_->RegisterMetricsProvider( Can this move outside the braces?
3 years, 11 months ago (2017-01-04 12:44:01 UTC) #7
sdefresne
Thank you for the review. https://codereview.chromium.org/2615433002/diff/1/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm File ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm (right): https://codereview.chromium.org/2615433002/diff/1/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm#newcode207 ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm:207: metrics_service_->RegisterMetricsProvider( On 2017/01/04 12:44:01, ...
3 years, 11 months ago (2017-01-04 13:56:35 UTC) #8
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/2615433002/20001
3 years, 11 months ago (2017-01-04 13:57:36 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 14:51:48 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 14:54:36 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4f378a75463a07e4120477599a9e9600f9d2f4f3
Cr-Commit-Position: refs/heads/master@{#441373}

Powered by Google App Engine
This is Rietveld 408576698