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

Issue 597573002: Add a SupervisedUserServiceObserver. (Closed)

Created:
6 years, 3 months ago by Marc Treib
Modified:
6 years, 3 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a SupervisedUserServiceObserver. For now, this is used in the SupervisedUserInterstitial instead of listening to pref changes manually. More clients will follow in later CLs. BUG= Committed: https://crrev.com/ab0a39ec734e1f3e397993462dc61141c4f53c69 Cr-Commit-Position: refs/heads/master@{#296412}

Patch Set 1 #

Patch Set 2 : remove TODO #

Patch Set 3 : fix use-after-destroy of webcontents #

Total comments: 6

Patch Set 4 : cache Profile* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -40 lines) Patch
M chrome/browser/supervised_user/supervised_user_interstitial.h View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_interstitial.cc View 1 2 3 5 chunks +25 lines, -35 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.h View 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 5 chunks +26 lines, -0 lines 0 comments Download
A chrome/browser/supervised_user/supervised_user_service_observer.h View 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Marc Treib
I fixed your TODO - PTAL! (I do have an ulterior motive though: I plan ...
6 years, 3 months ago (2014-09-23 15:02:28 UTC) #2
Bernhard Bauer
LGTM, thanks!
6 years, 3 months ago (2014-09-24 09:34:10 UTC) #3
Marc Treib
Ping, in case you want to take another look: Turns out the interstitial may outlive ...
6 years, 3 months ago (2014-09-24 11:44:34 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc File chrome/browser/supervised_user/supervised_user_interstitial.cc (right): https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc#newcode280 chrome/browser/supervised_user/supervised_user_interstitial.cc:280: if (web_contents_ && ShouldProceed()) Why do we need the ...
6 years, 3 months ago (2014-09-24 11:52:00 UTC) #5
Marc Treib
https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc File chrome/browser/supervised_user/supervised_user_interstitial.cc (right): https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc#newcode280 chrome/browser/supervised_user/supervised_user_interstitial.cc:280: if (web_contents_ && ShouldProceed()) On 2014/09/24 11:51:59, Bernhard Bauer ...
6 years, 3 months ago (2014-09-24 12:02:27 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc File chrome/browser/supervised_user/supervised_user_interstitial.cc (right): https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc#newcode310 chrome/browser/supervised_user/supervised_user_interstitial.cc:310: web_contents_ = NULL; On 2014/09/24 12:02:27, Marc Treib wrote: ...
6 years, 3 months ago (2014-09-24 12:58:43 UTC) #7
Marc Treib
https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc File chrome/browser/supervised_user/supervised_user_interstitial.cc (right): https://codereview.chromium.org/597573002/diff/40001/chrome/browser/supervised_user/supervised_user_interstitial.cc#newcode310 chrome/browser/supervised_user/supervised_user_interstitial.cc:310: web_contents_ = NULL; On 2014/09/24 12:58:43, Bernhard Bauer wrote: ...
6 years, 3 months ago (2014-09-24 13:25:26 UTC) #8
Bernhard Bauer
LGTM!
6 years, 3 months ago (2014-09-24 14:00:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597573002/60001
6 years, 3 months ago (2014-09-24 14:03:33 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as ffa8762417cfb7b76ed974cbce10b399004b3af0
6 years, 3 months ago (2014-09-24 14:48:35 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 14:49:04 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ab0a39ec734e1f3e397993462dc61141c4f53c69
Cr-Commit-Position: refs/heads/master@{#296412}

Powered by Google App Engine
This is Rietveld 408576698