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

Issue 13778004: Start in elevated mode when creating a new managed user profile. (Closed)

Created:
7 years, 8 months ago by Adrian Kuegel
Modified:
7 years, 8 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Start in elevated mode when creating a new managed user profile. BUG=222364 TEST=browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193433

Patch Set 1 #

Total comments: 7

Patch Set 2 : Call SaveMetrics from didClosePage. #

Patch Set 3 : Add a startup elevation flag. #

Total comments: 8

Patch Set 4 : Address review comments. #

Patch Set 5 : Replace user preference with boolean flag. #

Total comments: 2

Patch Set 6 : Fixed initialization bug of boolean flag. #

Total comments: 2

Patch Set 7 : Address review comment. #

Total comments: 1

Patch Set 8 : Address nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -16 lines) Patch
M chrome/browser/managed_mode/managed_user_service.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_service.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/managed_user_settings.js View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/managed_user_settings_handler.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/managed_user_settings_handler.cc View 1 2 3 4 5 6 5 chunks +23 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Adrian Kuegel
Bernhard, can you please review this changelist?
7 years, 8 months ago (2013-04-08 09:54:13 UTC) #1
Bernhard Bauer
https://chromiumcodereview.appspot.com/13778004/diff/1/chrome/browser/ui/webui/options/managed_user_settings_handler.cc File chrome/browser/ui/webui/options/managed_user_settings_handler.cc (right): https://chromiumcodereview.appspot.com/13778004/diff/1/chrome/browser/ui/webui/options/managed_user_settings_handler.cc#newcode58 chrome/browser/ui/webui/options/managed_user_settings_handler.cc:58: passphrase_empty)) { Why are we checking for an empty ...
7 years, 8 months ago (2013-04-08 12:26:09 UTC) #2
Adrian Kuegel
I uploaded a new patch. It turns out that the didClosePage method in the javascript ...
7 years, 8 months ago (2013-04-08 14:31:04 UTC) #3
Bernhard Bauer
On 2013/04/08 14:31:04, Adrian Kuegel wrote: > I uploaded a new patch. It turns out ...
7 years, 8 months ago (2013-04-09 11:41:22 UTC) #4
Adrian Kuegel
On 2013/04/09 11:41:22, Bernhard Bauer wrote: > On 2013/04/08 14:31:04, Adrian Kuegel wrote: > > ...
7 years, 8 months ago (2013-04-09 12:34:45 UTC) #5
Bernhard Bauer
On 2013/04/09 12:34:45, Adrian Kuegel wrote: > On 2013/04/09 11:41:22, Bernhard Bauer wrote: > > ...
7 years, 8 months ago (2013-04-09 13:28:36 UTC) #6
Adrian Kuegel
On 2013/04/09 13:28:36, Bernhard Bauer wrote: > Well, can't you *just* call it from the ...
7 years, 8 months ago (2013-04-09 13:38:12 UTC) #7
Adrian Kuegel
I just tried it, and it is really as I expected: the destructor is not ...
7 years, 8 months ago (2013-04-09 14:12:47 UTC) #8
Adrian Kuegel
As we discussed offline, I use now a boolean flag in the ManagedUserService to store ...
7 years, 8 months ago (2013-04-10 09:04:59 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/13778004/diff/18001/chrome/browser/managed_mode/managed_mode_navigation_observer.cc File chrome/browser/managed_mode/managed_mode_navigation_observer.cc (right): https://codereview.chromium.org/13778004/diff/18001/chrome/browser/managed_mode/managed_mode_navigation_observer.cc#newcode274 chrome/browser/managed_mode/managed_mode_navigation_observer.cc:274: managed_user_service_->startup_elevation()) { I would rather do this when we ...
7 years, 8 months ago (2013-04-10 09:30:01 UTC) #10
Adrian Kuegel
https://codereview.chromium.org/13778004/diff/18001/chrome/browser/managed_mode/managed_mode_navigation_observer.cc File chrome/browser/managed_mode/managed_mode_navigation_observer.cc (right): https://codereview.chromium.org/13778004/diff/18001/chrome/browser/managed_mode/managed_mode_navigation_observer.cc#newcode274 chrome/browser/managed_mode/managed_mode_navigation_observer.cc:274: managed_user_service_->startup_elevation()) { On 2013/04/10 09:30:03, Bernhard Bauer wrote: > ...
7 years, 8 months ago (2013-04-10 09:47:01 UTC) #11
Adrian Kuegel
I realized that I don't need the user preference anymore for the UMA, I can ...
7 years, 8 months ago (2013-04-10 11:52:38 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/13778004/diff/47001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc File chrome/browser/ui/webui/options/managed_user_settings_handler.cc (right): https://codereview.chromium.org/13778004/diff/47001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc#newcode140 chrome/browser/ui/webui/options/managed_user_settings_handler.cc:140: has_seen_settings_dialog_ = false; Why do you set this to ...
7 years, 8 months ago (2013-04-10 12:17:12 UTC) #13
Adrian Kuegel
https://codereview.chromium.org/13778004/diff/47001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc File chrome/browser/ui/webui/options/managed_user_settings_handler.cc (right): https://codereview.chromium.org/13778004/diff/47001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc#newcode140 chrome/browser/ui/webui/options/managed_user_settings_handler.cc:140: has_seen_settings_dialog_ = false; Oh, the bug is in fact ...
7 years, 8 months ago (2013-04-10 12:22:42 UTC) #14
Bernhard Bauer
https://codereview.chromium.org/13778004/diff/52001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc File chrome/browser/ui/webui/options/managed_user_settings_handler.cc (right): https://codereview.chromium.org/13778004/diff/52001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc#newcode140 chrome/browser/ui/webui/options/managed_user_settings_handler.cc:140: has_seen_settings_dialog_ = false; Hmm... I'm wondering if it would ...
7 years, 8 months ago (2013-04-10 12:26:17 UTC) #15
Adrian Kuegel
https://codereview.chromium.org/13778004/diff/52001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc File chrome/browser/ui/webui/options/managed_user_settings_handler.cc (right): https://codereview.chromium.org/13778004/diff/52001/chrome/browser/ui/webui/options/managed_user_settings_handler.cc#newcode140 chrome/browser/ui/webui/options/managed_user_settings_handler.cc:140: has_seen_settings_dialog_ = false; Yes, SGTM. I changed it like ...
7 years, 8 months ago (2013-04-10 12:34:55 UTC) #16
Bernhard Bauer
LGTM!
7 years, 8 months ago (2013-04-10 12:48:16 UTC) #17
Adrian Kuegel
James, can you please give me approval for the files in chrome/browser/resources/options/* and chrome/browser/ui/ * ...
7 years, 8 months ago (2013-04-10 12:52:14 UTC) #18
James Hawkins
lgtm https://codereview.chromium.org/13778004/diff/55003/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc File chrome/browser/ui/startup/startup_browser_creator_browsertest.cc (right): https://codereview.chromium.org/13778004/diff/55003/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc#newcode941 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc:941: // And the managed user should be in ...
7 years, 8 months ago (2013-04-10 16:16:15 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akuegel@chromium.org/13778004/61001
7 years, 8 months ago (2013-04-10 16:27:40 UTC) #20
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 19:50:22 UTC) #21
Message was sent while issue was closed.
Change committed as 193433

Powered by Google App Engine
This is Rietveld 408576698