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

Issue 697693004: Supervised users: if history recording is off, allow incognito and deleting history (Closed)

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

Description

Supervised users: if history recording is off, allow incognito and deleting history Some related cleanup: - History UI: Properly distinguish profile->IsSupervised vs. prefs::kAllowDeletingBrowserHistory vs groupByDomain - "New incognito window" in hotdog menu: Honor IncognitoModePrefs BUG=232316 Committed: https://crrev.com/6f959801c7ae3a9ff745220638032a03bbb57047 Cr-Commit-Position: refs/heads/master@{#303627}

Patch Set 1 #

Patch Set 2 : fix browser_tests #

Total comments: 10

Patch Set 3 : rebase #

Patch Set 4 : review #

Total comments: 2

Patch Set 5 : more abc #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -32 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/history/history.js View 1 2 3 3 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_browsertest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_pref_store.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_pref_store_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_resource_throttle_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_service_browsertest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_settings_service.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_settings_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_settings_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Marc Treib
rsesek@chromium.org: Please review changes in app_controller_mac.mm msw@chromium.org: Please review changes in wrench_menu_model.cc bauerb@chromium.org: Please review ...
6 years, 1 month ago (2014-11-06 18:17:34 UTC) #2
Robert Sesek
app_controller_mac LGTM https://codereview.chromium.org/697693004/diff/20001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/697693004/diff/20001/chrome/browser/app_controller_mac.mm#newcode1471 chrome/browser/app_controller_mac.mm:1471: if (!profile || IncognitoModePrefs::GetAvailability(profile->GetPrefs()) != nit: would ...
6 years, 1 month ago (2014-11-06 19:06:41 UTC) #3
msw
On 2014/11/06 18:17:34, Marc Treib wrote: > mailto:rsesek@chromium.org: Please review changes in app_controller_mac.mm > mailto:msw@chromium.org: ...
6 years, 1 month ago (2014-11-06 19:08:03 UTC) #4
Dan Beam
c/b/resources and c/b/ui/webui lgtm https://codereview.chromium.org/697693004/diff/20001/chrome/browser/resources/history/history.js File chrome/browser/resources/history/history.js (right): https://codereview.chromium.org/697693004/diff/20001/chrome/browser/resources/history/history.js#newcode1938 chrome/browser/resources/history/history.js:1938: // Only show the controls ...
6 years, 1 month ago (2014-11-06 19:30:06 UTC) #5
Bernhard Bauer
LGTM w/ a nit: https://codereview.chromium.org/697693004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.h File chrome/browser/supervised_user/supervised_user_constants.h (right): https://codereview.chromium.org/697693004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.h#newcode17 chrome/browser/supervised_user/supervised_user_constants.h:17: extern const char kAllowDeletingBrowserHistory[]; Keeps ...
6 years, 1 month ago (2014-11-06 22:59:37 UTC) #6
Marc Treib
msw: Thanks for the hint, I'll do that next time. And sorry for any troubles ...
6 years, 1 month ago (2014-11-07 10:16:42 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/697693004/diff/60001/chrome/browser/supervised_user/supervised_user_pref_store.cc File chrome/browser/supervised_user/supervised_user_pref_store.cc (right): https://codereview.chromium.org/697693004/diff/60001/chrome/browser/supervised_user/supervised_user_pref_store.cc#newcode47 chrome/browser/supervised_user/supervised_user_pref_store.cc:47: supervised_users::kAllowDeletingBrowserHistory, It might make sense to also keep these ...
6 years, 1 month ago (2014-11-07 11:06:18 UTC) #8
Marc Treib
https://codereview.chromium.org/697693004/diff/60001/chrome/browser/supervised_user/supervised_user_pref_store.cc File chrome/browser/supervised_user/supervised_user_pref_store.cc (right): https://codereview.chromium.org/697693004/diff/60001/chrome/browser/supervised_user/supervised_user_pref_store.cc#newcode47 chrome/browser/supervised_user/supervised_user_pref_store.cc:47: supervised_users::kAllowDeletingBrowserHistory, On 2014/11/07 11:06:18, Bernhard Bauer wrote: > It ...
6 years, 1 month ago (2014-11-07 13:23:01 UTC) #9
msw
wrench_menu_model.cc lgtm
6 years, 1 month ago (2014-11-11 08:15:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/697693004/100001
6 years, 1 month ago (2014-11-11 11:27:13 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-11 12:21:32 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 12:23:03 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6f959801c7ae3a9ff745220638032a03bbb57047
Cr-Commit-Position: refs/heads/master@{#303627}

Powered by Google App Engine
This is Rietveld 408576698