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

Issue 2094913002: Make base::Environment::Create() return unique_ptrs. (Closed)

Created:
4 years, 6 months ago by Lei Zhang
Modified:
4 years, 5 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, jln+watch_chromium.org, jshin+watch_chromium.org, rickyz+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make base::Environment::Create() return unique_ptrs. BUG=581865 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win10_chromium_x64_rel_ng TBR=jshin@chromium.org Committed: https://crrev.com/0c412e85eb68bd357bb73ff3bc424b0d7f4dcb89 Cr-Commit-Position: refs/heads/master@{#403115}

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : nit, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+915 lines, -895 lines) Patch
M base/environment.h View 2 chunks +8 lines, -8 lines 0 comments Download
M base/environment.cc View 1 2 7 chunks +17 lines, -16 lines 0 comments Download
M base/files/file_util_unittest.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M base/nix/xdg_util_unittest.cc View 12 chunks +19 lines, -19 lines 0 comments Download
M chrome/browser/shell_integration_linux_unittest.cc View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M net/proxy/proxy_config_service_linux.h View 1 2 3 4 chunks +13 lines, -12 lines 0 comments Download
M net/proxy/proxy_config_service_linux.cc View 26 chunks +127 lines, -119 lines 0 comments Download
M net/proxy/proxy_config_service_linux_unittest.cc View 16 chunks +686 lines, -672 lines 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_client.h View 3 chunks +4 lines, -4 lines 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_client.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_host.h View 4 chunks +8 lines, -4 lines 0 comments Download
M sandbox/linux/suid/client/setuid_sandbox_host.cc View 6 chunks +14 lines, -19 lines 0 comments Download
M sandbox/win/src/address_sanitizer_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/base/l10n/l10n_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (16 generated)
Lei Zhang
4 years, 6 months ago (2016-06-24 17:18:02 UTC) #6
dcheng
https://codereview.chromium.org/2094913002/diff/80001/base/environment.cc File base/environment.cc (right): https://codereview.chromium.org/2094913002/diff/80001/base/environment.cc#newcode139 base/environment.cc:139: return WrapUnique(new EnvironmentImpl()); Nit: base::MakeUnique<EnvironmentImpl>()? https://codereview.chromium.org/2094913002/diff/80001/chrome/browser/shell_integration_linux_unittest.cc File chrome/browser/shell_integration_linux_unittest.cc (right): ...
4 years, 6 months ago (2016-06-24 17:28:35 UTC) #7
Lei Zhang
https://codereview.chromium.org/2094913002/diff/80001/base/environment.cc File base/environment.cc (right): https://codereview.chromium.org/2094913002/diff/80001/base/environment.cc#newcode139 base/environment.cc:139: return WrapUnique(new EnvironmentImpl()); On 2016/06/24 17:28:35, dcheng wrote: > ...
4 years, 6 months ago (2016-06-24 18:56:03 UTC) #8
Lei Zhang
Adding more reviewers: rch: net/ rickyz: sandbox/
4 years, 6 months ago (2016-06-24 18:59:20 UTC) #10
rickyz (no longer on Chrome)
sandbox/linux lgtm, thanks for the misc style fixes too!
4 years, 6 months ago (2016-06-24 20:43:22 UTC) #11
dcheng
lgtm
4 years, 6 months ago (2016-06-24 21:14:41 UTC) #12
Ryan Hamilton
net/ LGTM https://codereview.chromium.org/2094913002/diff/100001/net/proxy/proxy_config_service_linux.h File net/proxy/proxy_config_service_linux.h (right): https://codereview.chromium.org/2094913002/diff/100001/net/proxy/proxy_config_service_linux.h#newcode169 net/proxy/proxy_config_service_linux.h:169: // Noraml constructor. nit: Normal
4 years, 5 months ago (2016-06-28 22:53:05 UTC) #15
Lei Zhang
https://codereview.chromium.org/2094913002/diff/100001/net/proxy/proxy_config_service_linux.h File net/proxy/proxy_config_service_linux.h (right): https://codereview.chromium.org/2094913002/diff/100001/net/proxy/proxy_config_service_linux.h#newcode169 net/proxy/proxy_config_service_linux.h:169: // Noraml constructor. On 2016/06/28 22:53:05, Ryan Hamilton wrote: ...
4 years, 5 months ago (2016-06-28 23:10:55 UTC) #16
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/2094913002/120001
4 years, 5 months ago (2016-06-28 23:12:59 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/236265)
4 years, 5 months ago (2016-06-29 01:37:11 UTC) #21
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/2094913002/120001
4 years, 5 months ago (2016-06-30 06:14:15 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/96548)
4 years, 5 months ago (2016-06-30 07:28:24 UTC) #25
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/2094913002/120001
4 years, 5 months ago (2016-06-30 07:31:06 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 5 months ago (2016-06-30 08:04:54 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 08:04:57 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 08:06:08 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0c412e85eb68bd357bb73ff3bc424b0d7f4dcb89
Cr-Commit-Position: refs/heads/master@{#403115}

Powered by Google App Engine
This is Rietveld 408576698