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

Issue 218683013: Remove stale code to delete the metro user data dir. It never shipped. (Closed)

Created:
6 years, 8 months ago by grt (UTC plus 2)
Modified:
6 years, 5 months ago
Reviewers:
gab, Nico, sky
CC:
chromium-reviews, grt+watch_chromium.org, msw
Visibility:
Public.

Description

Remove stale code to delete the metro user data dir. It never shipped. This more or less reverts r149968. BUG=none TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261457

Patch Set 1 #

Total comments: 5

Patch Set 2 : gab comments #

Total comments: 4

Patch Set 3 : comment tweak #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -309 lines) Patch
M chrome/common/chrome_constants.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 15 chunks +211 lines, -230 lines 1 comment Download
M chrome/installer/util/auto_launch_util.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/installer/util/helper.h View 1 2 chunks +6 lines, -11 lines 0 comments Download
M chrome/installer/util/helper.cc View 2 chunks +2 lines, -23 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/installer/util/product.h View 1 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/installer/util/product.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/product_unittest.cc View 2 chunks +3 lines, -13 lines 0 comments Download
M chrome/installer/util/user_experiment.cc View 1 chunk +3 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
grt (UTC plus 2)
6 years, 8 months ago (2014-04-01 18:22:23 UTC) #1
gab
CC:msw lgtm w/ nits I also recall a method like GetAlternateUserDataDir() which would return the ...
6 years, 8 months ago (2014-04-02 15:16:56 UTC) #2
grt (UTC plus 2)
Thanks. I agree with holding off on landing until the other fix lands. PTAL. https://codereview.chromium.org/218683013/diff/1/chrome/installer/setup/uninstall.cc ...
6 years, 8 months ago (2014-04-02 16:53:09 UTC) #3
gab
lgtm w/ a single comment nit that I missed in the last review. Cheers! Gab ...
6 years, 8 months ago (2014-04-02 17:20:12 UTC) #4
grt (UTC plus 2)
Whaddya think? https://codereview.chromium.org/218683013/diff/20001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/218683013/diff/20001/chrome/installer/setup/uninstall.cc#newcode410 chrome/installer/setup/uninstall.cc:410: // Deletes a product's user data directory. ...
6 years, 8 months ago (2014-04-02 18:04:12 UTC) #5
gab
lgtm++
6 years, 8 months ago (2014-04-02 18:55:23 UTC) #6
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 8 months ago (2014-04-03 10:47:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/218683013/40001
6 years, 8 months ago (2014-04-03 10:48:00 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 11:15:14 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=59257
6 years, 8 months ago (2014-04-03 11:15:15 UTC) #10
grt (UTC plus 2)
TBR sky for the removal of a stale Win8 Metro constant in chrome/common/chrome_constants.{cc,h}.
6 years, 8 months ago (2014-04-03 13:21:30 UTC) #11
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 8 months ago (2014-04-03 13:22:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/218683013/40001
6 years, 8 months ago (2014-04-03 13:23:06 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 14:59:19 UTC) #14
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 14:59:19 UTC) #15
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 8 months ago (2014-04-03 15:17:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/218683013/40001
6 years, 8 months ago (2014-04-03 15:17:08 UTC) #17
commit-bot: I haz the power
Change committed as 261457
6 years, 8 months ago (2014-04-03 17:10:57 UTC) #18
gab
I just thought, we can also remove the special EULA code that was added for ...
6 years, 8 months ago (2014-04-04 19:40:26 UTC) #19
Nico
https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/uninstall.cc#newcode433 chrome/installer/setup/uninstall.cc:433: const base::FilePath user_data_dir(user_data_dir.DirName()); clang remarks: ..\..\chrome\installer\setup\uninstall.cc(445,40) : warning(clang): variable ...
6 years, 5 months ago (2014-07-21 14:47:44 UTC) #20
Nico
On 2014/07/21 14:47:44, Nico (away) wrote: > https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/uninstall.cc > File chrome/installer/setup/uninstall.cc (right): > > https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/uninstall.cc#newcode433 ...
6 years, 5 months ago (2014-07-23 00:41:03 UTC) #21
grt (UTC plus 2)
6 years, 5 months ago (2014-07-23 01:21:42 UTC) #22
Message was sent while issue was closed.
On 2014/07/23 00:41:03, Nico (away) wrote:
> On 2014/07/21 14:47:44, Nico (away) wrote:
> >
>
https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/u...
> > File chrome/installer/setup/uninstall.cc (right):
> > 
> >
>
https://codereview.chromium.org/218683013/diff/40001/chrome/installer/setup/u...
> > chrome/installer/setup/uninstall.cc:433: const base::FilePath
> > user_data_dir(user_data_dir.DirName());
> > clang remarks:
> > 
> > ..\..\chrome\installer\setup\uninstall.cc(445,40) :  warning(clang):
variable
> > 'user_data_dir' is uninitialized when used within its own initialization
> > [-Wuninitialized]
> >     const base::FilePath user_data_dir(user_data_dir.DirName());
> >                          ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
> > 1 warning generated.
> > 
> > Maybe you want to give the variable in the inner scope a different name? As
> is,
> > it's used for its own initialization. (Since this code doesn't seem to work,
> > maybe it's unused and can be deleted?)
> 
> gab, grt: ping ^

ack. will investigate. thanks.

Powered by Google App Engine
This is Rietveld 408576698