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

Issue 341723002: Refactored StringToIntEnumListPolicyHandler to be more general purpose (Closed)

Created:
6 years, 6 months ago by Andrew T Wilson (Slow)
Modified:
6 years, 6 months ago
Reviewers:
Joao da Silva
CC:
chromium-reviews
Visibility:
Public.

Description

Refactored StringToIntEnumListPolicyHandler to be more general purpose Created new StringMappingListPolicyHandler class to provide general mapping between policy string lists and generic pref types (int lists, string lists, etc). BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278083

Patch Set 1 #

Patch Set 2 : Fixed clang compile error #

Patch Set 3 : Apparently clang really likes explicit destructors, too. #

Patch Set 4 : Moar clang issues. #

Total comments: 4

Patch Set 5 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -59 lines) Patch
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 2 chunks +25 lines, -12 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.h View 1 2 3 4 3 chunks +30 lines, -13 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.cc View 1 2 3 4 6 chunks +41 lines, -23 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler_unittest.cc View 1 2 3 4 4 chunks +13 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Andrew T Wilson (Slow)
Finally got around to that refactoring of ConfigurationPolicyHandler we discussed last week. PTAL.
6 years, 6 months ago (2014-06-18 05:53:43 UTC) #1
Joao da Silva
lgtm with a couple of nits https://codereview.chromium.org/341723002/diff/60001/chrome/browser/policy/configuration_policy_handler_list_factory.cc File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): https://codereview.chromium.org/341723002/diff/60001/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode507 chrome/browser/policy/configuration_policy_handler_list_factory.cc:507: "platform_app", scoped_ptr<base::Value>(base::Value::CreateIntegerValue( CreateIntegerValue ...
6 years, 6 months ago (2014-06-18 08:45:26 UTC) #2
Andrew T Wilson (Slow)
The CQ bit was checked by atwilson@chromium.org
6 years, 6 months ago (2014-06-18 11:10:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/341723002/80001
6 years, 6 months ago (2014-06-18 11:11:10 UTC) #4
Andrew T Wilson (Slow)
On 2014/06/18 08:45:26, Joao da Silva wrote: > lgtm with a couple of nits > ...
6 years, 6 months ago (2014-06-18 11:11:38 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 15:25:03 UTC) #6
Message was sent while issue was closed.
Change committed as 278083

Powered by Google App Engine
This is Rietveld 408576698