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

Issue 2271833002: Continue browser startup after killing a hung browser instance. (Closed)

Created:
4 years, 4 months ago by gcomanici
Modified:
4 years, 3 months ago
CC:
chromium-reviews, manzagop (departed)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Continue browser startup after killing a hung browser instance. Chrome will defer to an existing browser via the process singleton during startup. When the existing browser appears hung, Chrome will prompt the user to kill it. If the user consents, Chrome will now try to acquire the singleton and continue with startup rather than exit. BUG=603698 TEST=see bug Committed: https://crrev.com/668156784598d74a8747b7767c1e565e03d9dc89 Cr-Commit-Position: refs/heads/master@{#415121}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Unit tests #

Total comments: 8

Patch Set 3 : Moved Command Line Processing #

Patch Set 4 : Merge #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -15 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/process_singleton_win.cc View 1 2 2 chunks +16 lines, -11 lines 1 comment Download
M chrome/browser/process_singleton_win_unittest.cc View 1 2 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
gcomanici
4 years, 4 months ago (2016-08-23 20:33:08 UTC) #4
grt (UTC plus 2)
This is going the right direction. Please add a test for this scenario. Also, please ...
4 years, 4 months ago (2016-08-24 10:01:27 UTC) #5
gcomanici
The unit tests were updated to reflect the behavior that will solve the problem. Returning ...
4 years, 3 months ago (2016-08-25 19:26:07 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/2271833002/diff/20001/chrome/browser/process_singleton_win.cc File chrome/browser/process_singleton_win.cc (right): https://codereview.chromium.org/2271833002/diff/20001/chrome/browser/process_singleton_win.cc#newcode294 chrome/browser/process_singleton_win.cc:294: if (!Create()) { nit: omit braces for conditionals where ...
4 years, 3 months ago (2016-08-26 09:26:43 UTC) #8
gcomanici
Thank you for the the useful comments+tips. Please let me know if you think that ...
4 years, 3 months ago (2016-08-26 17:27:00 UTC) #10
grt (UTC plus 2)
i like where you moved the silly command line thing. nice change. lgtm. https://codereview.chromium.org/2271833002/diff/80001/chrome/browser/process_singleton_win.cc File ...
4 years, 3 months ago (2016-08-26 20:24:01 UTC) #15
gcomanici
Asking for an Owners Review on the modified files.
4 years, 3 months ago (2016-08-26 20:48:47 UTC) #17
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-08-29 09:23:34 UTC) #18
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/2271833002/80001
4 years, 3 months ago (2016-08-29 13:43:09 UTC) #22
commit-bot: I haz the power
Exceeded global retry quota
4 years, 3 months ago (2016-08-29 14:51:17 UTC) #24
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/2271833002/80001
4 years, 3 months ago (2016-08-29 18:24:05 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-08-30 04:54:31 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 04:56:02 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/668156784598d74a8747b7767c1e565e03d9dc89
Cr-Commit-Position: refs/heads/master@{#415121}

Powered by Google App Engine
This is Rietveld 408576698