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

Issue 1734053002: Remove the current /prefetch switch when relaunching Chrome. (Closed)

Created:
4 years, 9 months ago by fdoray
Modified:
4 years, 9 months ago
CC:
chromium-reviews, gab
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the current /prefetch switch when relaunching Chrome. Currently, when a browser process is relaunched, the /prefetch:# switch of the current process is reused, which is wrong. For example, when a process initially launched in background is relaunched in foreground, it shouldn't reuse the /prefetch:# switch dedicated to background browser processes. With this CL, RemoveSwitchesForAutostart() removes the /prefetch:# switch from the command line, if present. BUG=577698 Committed: https://crrev.com/dd01ed2c79acd444ff3451a37d5b69cd8e7a5be0 Cr-Commit-Position: refs/heads/master@{#378751}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments from gab@ #4 #

Patch Set 3 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -1 line) Patch
M chrome/common/switch_utils.cc View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/common/switch_utils_unittest.cc View 1 2 chunks +40 lines, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
fdoray
jochen@: Can you review this CL? Thanks. cc: gab@
4 years, 9 months ago (2016-02-25 15:12:01 UTC) #2
gab
https://codereview.chromium.org/1734053002/diff/1/chrome/common/switch_utils.cc File chrome/common/switch_utils.cc (right): https://codereview.chromium.org/1734053002/diff/1/chrome/common/switch_utils.cc#newcode49 chrome/common/switch_utils.cc:49: // "/prefetch:#" where # is [1, 8]. It's never ...
4 years, 9 months ago (2016-02-25 20:22:23 UTC) #4
fdoray
gab@: Can you take another look? Thanks. https://codereview.chromium.org/1734053002/diff/1/chrome/common/switch_utils.cc File chrome/common/switch_utils.cc (right): https://codereview.chromium.org/1734053002/diff/1/chrome/common/switch_utils.cc#newcode49 chrome/common/switch_utils.cc:49: // "/prefetch:#" ...
4 years, 9 months ago (2016-02-26 18:10:36 UTC) #6
gab
lgtm, thanks
4 years, 9 months ago (2016-03-01 23:23:07 UTC) #7
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-02 10:51:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734053002/40001
4 years, 9 months ago (2016-03-02 15:00:00 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-02 15:46:09 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 15:48:04 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dd01ed2c79acd444ff3451a37d5b69cd8e7a5be0
Cr-Commit-Position: refs/heads/master@{#378751}

Powered by Google App Engine
This is Rietveld 408576698