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

Issue 9570017: Defer shutting down Chrome after the CF automation connection goes away. (Closed)

Created:
8 years, 9 months ago by robertshield
Modified:
8 years, 9 months ago
CC:
chromium-reviews, kkania, erikwright (departed)
Visibility:
Public.

Description

Defer shutting down Chrome after the CF automation connection goes away. BUG=98506 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124942

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review feedback. #

Patch Set 3 : Making the shutdown delay command-line configurable to allow for field experiments. #

Total comments: 7

Patch Set 4 : grt's feedback #

Total comments: 2

Patch Set 5 : Addressing grt's latest nit. #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -4 lines) Patch
M chrome/browser/automation/chrome_frame_automation_provider.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/automation/chrome_frame_automation_provider.cc View 1 2 3 4 5 3 chunks +50 lines, -3 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
robertshield
For initial discussion, this appears to work like a charm. Looking at writing a test ...
8 years, 9 months ago (2012-03-01 16:31:04 UTC) #1
slightlyoff
LGTM http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode14 chrome/browser/automation/chrome_frame_automation_provider.cc:14: const int kShutdownDelaySeconds = 30; Would be great ...
8 years, 9 months ago (2012-03-01 16:57:12 UTC) #2
grt (UTC plus 2)
That's really straightforward. Even better that it actually works! https://chromiumcodereview.appspot.com/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): https://chromiumcodereview.appspot.com/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode34 chrome/browser/automation/chrome_frame_automation_provider.cc:34: ...
8 years, 9 months ago (2012-03-01 16:59:31 UTC) #3
grt (UTC plus 2)
lgtm
8 years, 9 months ago (2012-03-01 16:59:40 UTC) #4
robertshield
http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode14 chrome/browser/automation/chrome_frame_automation_provider.cc:14: const int kShutdownDelaySeconds = 30; On 2012/03/01 16:57:12, slightlyoff ...
8 years, 9 months ago (2012-03-02 15:17:17 UTC) #5
ananta
LGTM
8 years, 9 months ago (2012-03-02 15:44:49 UTC) #6
robertshield
On 2012/03/02 15:17:17, robertshield wrote: > http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc > File chrome/browser/automation/chrome_frame_automation_provider.cc (right): > > http://codereview.chromium.org/9570017/diff/1/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode14 > ...
8 years, 9 months ago (2012-03-02 15:45:19 UTC) #7
robertshield
ptal - will add the Chrome Frame end of this in another imminent CL.
8 years, 9 months ago (2012-03-02 16:24:13 UTC) #8
grt (UTC plus 2)
http://codereview.chromium.org/9570017/diff/7002/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/7002/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode29 chrome/browser/automation/chrome_frame_automation_provider.cc:29: if (cmd_line.HasSwitch(switches::kChromeFrameShutdownDelay)) { please rework this block to: CommandLine::StringType ...
8 years, 9 months ago (2012-03-02 20:13:37 UTC) #9
robertshield
http://codereview.chromium.org/9570017/diff/7002/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/7002/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode29 chrome/browser/automation/chrome_frame_automation_provider.cc:29: if (cmd_line.HasSwitch(switches::kChromeFrameShutdownDelay)) { On 2012/03/02 20:13:37, grt wrote: > ...
8 years, 9 months ago (2012-03-02 20:33:37 UTC) #10
grt (UTC plus 2)
http://codereview.chromium.org/9570017/diff/7002/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/9570017/diff/7002/chrome/common/chrome_switches.h#newcode54 chrome/common/chrome_switches.h:54: extern const char kChromeFrameShutdownDelay[]; On 2012/03/02 20:33:37, robertshield wrote: ...
8 years, 9 months ago (2012-03-02 20:43:23 UTC) #11
robertshield
http://codereview.chromium.org/9570017/diff/7003/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/7003/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode44 chrome/browser/automation/chrome_frame_automation_provider.cc:44: if (shutdown_delay_seconds > kMaxChromeShutdownDelaySeconds) On 2012/03/02 20:43:23, grt wrote: ...
8 years, 9 months ago (2012-03-02 20:52:27 UTC) #12
grt (UTC plus 2)
Nice! LGTM.
8 years, 9 months ago (2012-03-02 21:02:50 UTC) #13
slightlyoff
http://codereview.chromium.org/9570017/diff/11009/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/11009/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode34 chrome/browser/automation/chrome_frame_automation_provider.cc:34: VLOG(1) << "ChromeFrameAutomationProvider: " this is going to use ...
8 years, 9 months ago (2012-03-05 12:35:53 UTC) #14
robertshield
Thanks, PTAL! http://codereview.chromium.org/9570017/diff/11009/chrome/browser/automation/chrome_frame_automation_provider.cc File chrome/browser/automation/chrome_frame_automation_provider.cc (right): http://codereview.chromium.org/9570017/diff/11009/chrome/browser/automation/chrome_frame_automation_provider.cc#newcode34 chrome/browser/automation/chrome_frame_automation_provider.cc:34: VLOG(1) << "ChromeFrameAutomationProvider: " On 2012/03/05 12:35:53, ...
8 years, 9 months ago (2012-03-05 13:33:25 UTC) #15
slightlyoff
On 2012/03/05 13:33:25, robertshield wrote: > Thanks, PTAL! > > http://codereview.chromium.org/9570017/diff/11009/chrome/browser/automation/chrome_frame_automation_provider.cc > File chrome/browser/automation/chrome_frame_automation_provider.cc (right): ...
8 years, 9 months ago (2012-03-05 13:46:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/9570017/19002
8 years, 9 months ago (2012-03-05 13:49:00 UTC) #17
commit-bot: I haz the power
8 years, 9 months ago (2012-03-05 15:24:01 UTC) #18
Change committed as 124942

Powered by Google App Engine
This is Rietveld 408576698