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

Issue 228703004: Start session fail causes restart chrome (Closed)

Created:
6 years, 8 months ago by Roman Sorokin (ftl)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Start session fail causes restart chrome BUG=244628 TEST=manual check on Acer C720 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266791

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed CSG mistakes #

Patch Set 3 : Fixed testing fake implementations and CSG errors #

Patch Set 4 : Fixed browser tests #

Patch Set 5 : Fixed more browser tests #

Total comments: 12

Patch Set 6 : Fixed comments and rebase #

Total comments: 2

Patch Set 7 : Added messageloop for crash_restore_browsertest #

Total comments: 4

Patch Set 8 : Fixed comments and rebase #

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

Messages

Total messages: 23 (0 generated)
Roman Sorokin (ftl)
6 years, 8 months ago (2014-04-10 15:28:48 UTC) #1
ygorshenin1
https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc#newcode203 chrome/browser/chromeos/login/login_utils.cc:203: void onSessionStarted(const UserContext& user_context, Functions should start with a ...
6 years, 8 months ago (2014-04-10 15:39:21 UTC) #2
Nikita (slow)
https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc#newcode424 chrome/browser/chromeos/login/login_utils.cc:424: const std::string& display_email, nit: Alignment should be fixed.
6 years, 8 months ago (2014-04-10 15:41:12 UTC) #3
Roman Sorokin (ftl)
PTAL https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/228703004/diff/1/chrome/browser/chromeos/login/login_utils.cc#newcode203 chrome/browser/chromeos/login/login_utils.cc:203: void onSessionStarted(const UserContext& user_context, On 2014/04/10 15:39:22, ygorshenin1 ...
6 years, 8 months ago (2014-04-11 07:38:12 UTC) #4
ygorshenin1
Looks like you also need to fix FakeSessionManagerClient (from linux_chromeos trybot: http://build.chromium.org/p/tryserver.chromium/builders/linux_chromeos/builds/210575/steps/compile/logs/stdio).
6 years, 8 months ago (2014-04-11 07:46:03 UTC) #5
Roman Sorokin (ftl)
PTAL
6 years, 8 months ago (2014-04-16 15:31:06 UTC) #6
ygorshenin1
lgtm with nit. https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc File chrome/browser/chromeos/login/crash_restore_browsertest.cc (right): https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc#newcode72 chrome/browser/chromeos/login/crash_restore_browsertest.cc:72: size_t session_started_cnt_; nit: no need to ...
6 years, 8 months ago (2014-04-16 16:50:04 UTC) #7
Nikita (slow)
lgtm when these comments are addressed https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc File chrome/browser/chromeos/login/crash_restore_browsertest.cc (right): https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc#newcode72 chrome/browser/chromeos/login/crash_restore_browsertest.cc:72: size_t session_started_cnt_; nit: ...
6 years, 8 months ago (2014-04-18 05:22:58 UTC) #8
Roman Sorokin (ftl)
+oshima for chromeos/* https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc File chrome/browser/chromeos/login/crash_restore_browsertest.cc (right): https://codereview.chromium.org/228703004/diff/80001/chrome/browser/chromeos/login/crash_restore_browsertest.cc#newcode72 chrome/browser/chromeos/login/crash_restore_browsertest.cc:72: size_t session_started_cnt_; On 2014/04/16 16:50:04, ygorshenin1 ...
6 years, 8 months ago (2014-04-22 08:28:46 UTC) #9
oshima
https://codereview.chromium.org/228703004/diff/100001/chromeos/dbus/fake_session_manager_client.cc File chromeos/dbus/fake_session_manager_client.cc (right): https://codereview.chromium.org/228703004/diff/100001/chromeos/dbus/fake_session_manager_client.cc#newcode58 chromeos/dbus/fake_session_manager_client.cc:58: // MessageLoop::current() returns NULL. Isn't it possible to create ...
6 years, 8 months ago (2014-04-22 10:03:32 UTC) #10
Roman Sorokin (ftl)
PTAL https://codereview.chromium.org/228703004/diff/100001/chromeos/dbus/fake_session_manager_client.cc File chromeos/dbus/fake_session_manager_client.cc (right): https://codereview.chromium.org/228703004/diff/100001/chromeos/dbus/fake_session_manager_client.cc#newcode58 chromeos/dbus/fake_session_manager_client.cc:58: // MessageLoop::current() returns NULL. On 2014/04/22 10:03:32, oshima ...
6 years, 8 months ago (2014-04-24 11:49:25 UTC) #11
oshima
lgtm with nits https://codereview.chromium.org/228703004/diff/160001/chrome/browser/chromeos/login/crash_restore_browsertest.cc File chrome/browser/chromeos/login/crash_restore_browsertest.cc (right): https://codereview.chromium.org/228703004/diff/160001/chrome/browser/chromeos/login/crash_restore_browsertest.cc#newcode57 chrome/browser/chromeos/login/crash_restore_browsertest.cc:57: //session_manager // We need to ...
6 years, 8 months ago (2014-04-24 13:59:30 UTC) #12
Roman Sorokin (ftl)
The CQ bit was checked by rsorokin@chromium.org
6 years, 7 months ago (2014-04-28 12:26:25 UTC) #13
Roman Sorokin (ftl)
The CQ bit was unchecked by rsorokin@chromium.org
6 years, 7 months ago (2014-04-28 12:26:29 UTC) #14
Roman Sorokin (ftl)
to CQ https://codereview.chromium.org/228703004/diff/160001/chrome/browser/chromeos/login/crash_restore_browsertest.cc File chrome/browser/chromeos/login/crash_restore_browsertest.cc (right): https://codereview.chromium.org/228703004/diff/160001/chrome/browser/chromeos/login/crash_restore_browsertest.cc#newcode57 chrome/browser/chromeos/login/crash_restore_browsertest.cc:57: //session_manager On 2014/04/24 13:59:31, oshima wrote: > ...
6 years, 7 months ago (2014-04-28 15:31:14 UTC) #15
Roman Sorokin (ftl)
The CQ bit was checked by rsorokin@chromium.org
6 years, 7 months ago (2014-04-28 15:31:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsorokin@chromium.org/228703004/180001
6 years, 7 months ago (2014-04-28 15:31:40 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:45:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-28 16:45:55 UTC) #19
Roman Sorokin (ftl)
The CQ bit was checked by rsorokin@chromium.org
6 years, 7 months ago (2014-04-29 07:57:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsorokin@chromium.org/228703004/180001
6 years, 7 months ago (2014-04-29 07:59:20 UTC) #21
commit-bot: I haz the power
Change committed as 266791
6 years, 7 months ago (2014-04-29 09:01:37 UTC) #22
Nikita (slow)
6 years, 7 months ago (2014-05-06 12:51:22 UTC) #23
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/268293002/ by nkostylev@chromium.org.

The reason for reverting is: Seems to be breaking user sign in.
See also http://crbug.com/369040.

Powered by Google App Engine
This is Rietveld 408576698