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

Issue 169993002: Add check for user in cros settings handler (Closed)

Created:
6 years, 10 months ago by michaelpg
Modified:
6 years, 10 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, dbeam+watch-options_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Visibility:
Public.

Description

Add check for user in cros settings handler BUG=341969 R=nkostylev@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251871

Patch Set 1 #

Total comments: 2

Patch Set 2 : add signin profile check to core options handler #

Total comments: 1

Patch Set 3 : revert to patchset 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
michaelpg
6 years, 10 months ago (2014-02-17 22:18:34 UTC) #1
Nikita (slow)
UserManager::GetPrimaryUser() will return NULL on the login UI. For the login UI there's a special ...
6 years, 10 months ago (2014-02-18 09:53:24 UTC) #2
michaelpg
On 2014/02/18 09:53:24, Nikita Kostylev wrote: > UserManager::GetPrimaryUser() will return NULL on the login UI. ...
6 years, 10 months ago (2014-02-18 10:00:32 UTC) #3
Nikita (slow)
https://codereview.chromium.org/169993002/diff/1/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc File chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc (right): https://codereview.chromium.org/169993002/diff/1/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc#newcode261 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc:261: User* user = user_manager->GetUserByProfile(profile); On the login UI UserManagerImpl::GetUserByProfile() ...
6 years, 10 months ago (2014-02-18 10:00:39 UTC) #4
michaelpg
https://codereview.chromium.org/169993002/diff/1/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc File chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc (right): https://codereview.chromium.org/169993002/diff/1/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc#newcode261 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc:261: User* user = user_manager->GetUserByProfile(profile); On 2014/02/18 10:00:39, Nikita Kostylev ...
6 years, 10 months ago (2014-02-18 20:14:16 UTC) #5
Nikita (slow)
lgtm https://codereview.chromium.org/169993002/diff/70001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc File chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc (right): https://codereview.chromium.org/169993002/diff/70001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc#newcode262 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc:262: if (user && !ProfileHelper::IsSigninProfile(profile) && If this is ...
6 years, 10 months ago (2014-02-18 20:23:41 UTC) #6
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-18 20:31:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/169993002/140001
6 years, 10 months ago (2014-02-18 20:33:47 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-02-18 23:17:05 UTC) #9
Message was sent while issue was closed.
Change committed as 251871

Powered by Google App Engine
This is Rietveld 408576698