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

Issue 10590004: [cros] Fake a stub user login when no --login-manager and --login-user are given. (Closed)

Created:
8 years, 6 months ago by Ivan Korotkov
Modified:
8 years, 5 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

[cros] Fake a stub user login when no --login-manager and --login-user are given. This is a reland of 142944 with fixes for tests. BUG=126765 TEST=Manual on Linux without --login-manager and --login-user Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146991

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Further test fixes. #

Total comments: 12

Patch Set 4 : Merge #

Patch Set 5 : Review comments and mock expectations. #

Total comments: 1

Patch Set 6 : merge #

Patch Set 7 : UITest fix. #

Patch Set 8 : Merge #

Patch Set 9 : Renamed to TestingProfile::kTestUserProfileDir. #

Patch Set 10 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -82 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 9 2 chunks +28 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 2 3 4 9 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 1 2 3 4 chunks +8 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 6 7 8 9 9 chunks +4 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_unittest.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_in_process_browser_test.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/system/drm_settings.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_startup_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/prefs/pref_service_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/perf/startup_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager.cc View 1 2 3 4 4 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Ivan Korotkov
PTAL #1 is identical to the previous CL, new changes to tests are in patchsets ...
8 years, 6 months ago (2012-06-20 12:46:48 UTC) #1
Nikita (slow)
lgtm http://codereview.chromium.org/10590004/diff/3013/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): http://codereview.chromium.org/10590004/diff/3013/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode248 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:248: // If we're not running on ChromeOS, and ...
8 years, 6 months ago (2012-06-20 13:28:32 UTC) #2
Ivan Korotkov
Updated gmock expectations in MockDbusThreadManager to produce less noise https://chromiumcodereview.appspot.com/10590004/diff/3013/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://chromiumcodereview.appspot.com/10590004/diff/3013/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode248 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:248: ...
8 years, 6 months ago (2012-06-21 12:25:12 UTC) #3
Ivan Korotkov
OWNERS, could you please take a look? sky: ui/prefs/ sail: profiles/
8 years, 6 months ago (2012-06-21 16:29:54 UTC) #4
sky
LGTM
8 years, 6 months ago (2012-06-21 17:59:02 UTC) #5
sail
Hi Nikita, sorry for the slow response. I'm away right now but maybe erg or ...
8 years, 6 months ago (2012-06-22 18:46:56 UTC) #6
Ivan Korotkov
Hi Sailesh, I guess there has been some misunderstanding about this CL. It basically adds ...
8 years, 6 months ago (2012-06-25 14:32:24 UTC) #7
rpetterson
I'm still a bit confused. Wouldn't it make more sense to pass the directory to ...
8 years, 6 months ago (2012-06-25 17:50:41 UTC) #8
sail
> These tests are assuming that the initial profile dir is "Default" (not using > ...
8 years, 6 months ago (2012-06-25 18:52:25 UTC) #9
Ivan Korotkov
On ChromeOS, there's an explicit DCHECK that a logged-in user cannot have "Default" as profile ...
8 years, 6 months ago (2012-06-26 16:37:44 UTC) #10
rpetterson
I think renaming it as you've done to kTestUserProfile is good. Perhaps kTestUserProfileDir would be ...
8 years, 5 months ago (2012-06-28 19:00:38 UTC) #11
Ivan Korotkov
Uploaded new patchset
8 years, 5 months ago (2012-07-02 12:51:06 UTC) #12
rpetterson
LGTM
8 years, 5 months ago (2012-07-09 21:12:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/10590004/58001
8 years, 5 months ago (2012-07-17 11:05:12 UTC) #14
commit-bot: I haz the power
Try job failure for 10590004-58001 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-17 12:12:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/10590004/58001
8 years, 5 months ago (2012-07-17 12:19:01 UTC) #16
commit-bot: I haz the power
8 years, 5 months ago (2012-07-17 13:47:27 UTC) #17
Change committed as 146991

Powered by Google App Engine
This is Rietveld 408576698