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

Issue 2039273003: Cleanup: Remove VersionUpdater::RelaunchBrowser interface method. (Closed)

Created:
4 years, 6 months ago by dpapad
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Remove VersionUpdater::RelaunchBrowser interface method. Specifically: - Introducing a chrome::AttemptRelaunch() method. - Removing VersionUpdater::RelaunchBrowser() method, since the extra level of indirection seems unnecessary. This is in preparation of reducing the number of "Restart" codepaths in MD Settings. BUG=617830 Committed: https://crrev.com/374368fd0a260c0d13cab0447ba4b30c36d448b6 Cr-Commit-Position: refs/heads/master@{#398777}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -35 lines) Patch
M chrome/browser/lifetime/application_lifetime.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/update_recommended_message_box.cc View 1 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/help/version_updater.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_basic.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_basic.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_chromeos.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/help/version_updater_chromeos.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/help/version_updater_mac.mm View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_win.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/help/version_updater_win.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/settings/about_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (8 generated)
dpapad
4 years, 6 months ago (2016-06-06 22:07:15 UTC) #5
Lei Zhang
In a previous code review involving application_lifetime.h, there was some unhappiness about it being littered ...
4 years, 6 months ago (2016-06-07 00:33:54 UTC) #8
dpapad
On 2016/06/07 at 00:33:54, thestig wrote: > In a previous code review involving application_lifetime.h, there ...
4 years, 6 months ago (2016-06-07 01:27:12 UTC) #9
dpapad
On 2016/06/07 at 01:27:12, dpapad wrote: > On 2016/06/07 at 00:33:54, thestig wrote: > > ...
4 years, 6 months ago (2016-06-09 00:36:42 UTC) #10
Lei Zhang
On 2016/06/07 01:27:12, dpapad wrote: > On 2016/06/07 at 00:33:54, thestig wrote: > > In ...
4 years, 6 months ago (2016-06-09 00:49:09 UTC) #11
Lei Zhang
https://codereview.chromium.org/2039273003/diff/1/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2039273003/diff/1/chrome/browser/lifetime/application_lifetime.cc#newcode216 chrome/browser/lifetime/application_lifetime.cc:216: #if defined(OS_CHROMEOS) UpdateRecommendedMessageBox::Accept() is another place that calls these ...
4 years, 6 months ago (2016-06-09 00:50:40 UTC) #12
dpapad
https://codereview.chromium.org/2039273003/diff/1/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2039273003/diff/1/chrome/browser/lifetime/application_lifetime.cc#newcode216 chrome/browser/lifetime/application_lifetime.cc:216: #if defined(OS_CHROMEOS) On 2016/06/09 at 00:50:40, Lei Zhang (Slow) ...
4 years, 6 months ago (2016-06-09 01:14:27 UTC) #13
Lei Zhang
lgtm
4 years, 6 months ago (2016-06-09 01:18:57 UTC) #14
dpapad
On 2016/06/09 at 01:18:57, thestig wrote: > lgtm Thank you!
4 years, 6 months ago (2016-06-09 01:22:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039273003/20001
4 years, 6 months ago (2016-06-09 01:32:51 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-09 04:04:54 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 04:06:25 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/374368fd0a260c0d13cab0447ba4b30c36d448b6
Cr-Commit-Position: refs/heads/master@{#398777}

Powered by Google App Engine
This is Rietveld 408576698