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

Issue 307993005: Enable the ManagedBookmarks policy on all platforms. (Closed)

Created:
6 years, 6 months ago by Joao da Silva
Modified:
6 years, 6 months ago
Reviewers:
nyquist, pastarmovj, sky
CC:
chromium-reviews, tfarina, joaodasilva+watch_chromium.org, browser-components-watch_chromium.org
Visibility:
Public.

Description

Enable the ManagedBookmarks policy on all platforms. This CL makes a couple more changes to accomodate for the implementation of this policy: - moved the kManagedBookmarks pref into the bookmarks component, so that it can be referred to from there; - moved the strings for the managed bookmarks folder name for the same reasons; - updated the policy schema to support child bookmarks; - updated the ManagedBookmarksPolicyHandler to use the schema validation code, and added a new unit test for that. TBR=nyquist@chromium.org BUG=49598 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274124

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : addressed comments #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -126 lines) Patch
M build/ios/grit_whitelist.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/bookmarks/managed_bookmarks_shim.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model_factory.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 4 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/policy/managed_bookmarks_policy_handler.h View 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/policy/managed_bookmarks_policy_handler.cc View 1 2 2 chunks +52 lines, -67 lines 0 comments Download
A chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc View 1 2 1 chunk +190 lines, -0 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M components/bookmarks/common/bookmark_pref_names.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/bookmarks/common/bookmark_pref_names.cc View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M components/bookmarks_strings.grdp View 2 chunks +12 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download
M components/policy/tools/generate_policy_source.py View 1 chunk +2 lines, -1 line 0 comments Download
M components/policy_strings.grdp View 1 chunk +3 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Joao da Silva
PTAL: @pastarmovj: policy changes @nyquist: android changes (more to come in subsequent CLs!) @sky: bookmarks ...
6 years, 6 months ago (2014-05-30 12:53:18 UTC) #1
sky
LGTM https://codereview.chromium.org/307993005/diff/1/components/bookmarks/common/bookmark_pref_names.h File components/bookmarks/common/bookmark_pref_names.h (right): https://codereview.chromium.org/307993005/diff/1/components/bookmarks/common/bookmark_pref_names.h#newcode16 components/bookmarks/common/bookmark_pref_names.h:16: extern const char kManagedBookmarks[]; nit: please alphabetize these.
6 years, 6 months ago (2014-05-30 13:12:53 UTC) #2
pastarmovj
lgtm with two nits. https://codereview.chromium.org/307993005/diff/1/chrome/browser/policy/managed_bookmarks_policy_handler.cc File chrome/browser/policy/managed_bookmarks_policy_handler.cc (right): https://codereview.chromium.org/307993005/diff/1/chrome/browser/policy/managed_bookmarks_policy_handler.cc#newcode50 chrome/browser/policy/managed_bookmarks_policy_handler.cc:50: base::DictionaryValue* dict = NULL; I ...
6 years, 6 months ago (2014-05-30 14:07:13 UTC) #3
Joao da Silva
https://codereview.chromium.org/307993005/diff/1/chrome/browser/policy/managed_bookmarks_policy_handler.cc File chrome/browser/policy/managed_bookmarks_policy_handler.cc (right): https://codereview.chromium.org/307993005/diff/1/chrome/browser/policy/managed_bookmarks_policy_handler.cc#newcode50 chrome/browser/policy/managed_bookmarks_policy_handler.cc:50: base::DictionaryValue* dict = NULL; On 2014/05/30 14:07:13, pastarmovj wrote: ...
6 years, 6 months ago (2014-05-30 20:54:34 UTC) #4
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 6 months ago (2014-06-01 12:50:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/307993005/70001
6 years, 6 months ago (2014-06-01 12:50:39 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-01 17:16:40 UTC) #7
Message was sent while issue was closed.
Change committed as 274124

Powered by Google App Engine
This is Rietveld 408576698