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

Issue 2653823004: Do not restart Chrome to apply user flags with stub session manager (Closed)

Created:
3 years, 11 months ago by tbarzic
Modified:
3 years, 11 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, hashimoto+watch_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not restart Chrome to apply user flags with stub session manager This prevents restarting Chrome to apply per-user flags when not running on Chrome OS - since Chrome OS session manager, which initiates browser restart, does not run on desktop build of Chrome OS, browser restart to apply user flags will not work. All that would happen is browser shutdown. Instead uf using SysInfo::IsRunningOnChromeOS directly, add information about whether session manager supports restart to session manager client - this will enable us to enable restart behaviour in tests when needed, e.g. for tests that test browser restart flow. BUG=684796 Review-Url: https://codereview.chromium.org/2653823004 Cr-Commit-Position: refs/heads/master@{#446088} Committed: https://chromium.googlesource.com/chromium/src/+/827ca1c2f792da3147275ea3c3ad0134f708d59f

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : .\ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -5 lines) Patch
M chrome/browser/chromeos/login/session/user_session_manager.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (14 generated)
tbarzic
3 years, 11 months ago (2017-01-25 02:47:18 UTC) #12
xiyuan
lgtm
3 years, 11 months ago (2017-01-25 19:26:48 UTC) #13
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/2653823004/40001
3 years, 11 months ago (2017-01-25 19:32:43 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 19:38:46 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/827ca1c2f792da3147275ea3c3ad...

Powered by Google App Engine
This is Rietveld 408576698