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

Issue 653773003: Fixing problem where a session restore gets performed even though users don't want it (Closed)

Created:
6 years, 2 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, marja+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixing problem where a session restore gets performed even though users don't want it The problem: In various cases we have seen that the user setting to ignore the restore option (nothing / all) gets ignored. Examples: Per user command line changes enforce a restart of chrome after login. After update, ... On ChromeOS we need only to overwrite the user setting when chrome crashed - which would be identified by the commandline option. I run all browser tests and changed some tests to respect this behavior. BUG=395925 TEST=existing unit tests Committed: https://crrev.com/56be508a4a8d5365f8a8207d26e61634e63c0a65 Cr-Commit-Position: refs/heads/master@{#299995}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M chrome/browser/sessions/better_session_restore_browsertest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_restore_browsertest_chromeos.cc View 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Mr4D (OOO till 08-26)
I think you are the best reviewer for this change. Maybe I have missed something... ...
6 years, 2 months ago (2014-10-15 21:54:27 UTC) #2
sky
https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc#newcode366 chrome/browser/ui/startup/startup_browser_creator.cc:366: const bool did_restart = false; Won't this mean if ...
6 years, 2 months ago (2014-10-15 23:57:21 UTC) #3
sky
LGTM was a better comment. https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc#newcode366 chrome/browser/ui/startup/startup_browser_creator.cc:366: const bool did_restart = ...
6 years, 2 months ago (2014-10-16 20:35:27 UTC) #4
Mr4D (OOO till 08-26)
Thanks for your review! https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/653773003/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc#newcode366 chrome/browser/ui/startup/startup_browser_creator.cc:366: const bool did_restart = false; ...
6 years, 2 months ago (2014-10-16 20:58:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653773003/20001
6 years, 2 months ago (2014-10-16 21:00:14 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-16 22:38:41 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 22:39:25 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/56be508a4a8d5365f8a8207d26e61634e63c0a65
Cr-Commit-Position: refs/heads/master@{#299995}

Powered by Google App Engine
This is Rietveld 408576698