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

Issue 179813008: Move PolicyLoaderMac::CreateValueFromProperty to a generic file. (Closed)

Created:
6 years, 9 months ago by Joao da Silva
Modified:
6 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move PolicyLoaderMac::CreateValueFromProperty to a generic file. This function converts a CFPropertyListRef to the equivalent base::Value. This change moves that function to mac_util.h so that it can be reused on iOS. This change also moves a helper function that does the reverse conversion for tests. BUG=348820 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254967

Patch Set 1 #

Patch Set 2 : POLICY_EXPORT #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -232 lines) Patch
M components/components_tests.gyp View 1 chunk +5 lines, -0 lines 0 comments Download
A components/policy/core/common/mac_util.h View 1 1 chunk +32 lines, -0 lines 2 comments Download
A components/policy/core/common/mac_util.cc View 1 chunk +96 lines, -0 lines 0 comments Download
A components/policy/core/common/mac_util_unittest.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M components/policy/core/common/policy_loader_mac.h View 3 chunks +0 lines, -9 lines 0 comments Download
M components/policy/core/common/policy_loader_mac.cc View 5 chunks +8 lines, -80 lines 0 comments Download
M components/policy/core/common/policy_loader_mac_unittest.cc View 5 chunks +3 lines, -143 lines 0 comments Download
M components/policy/core/common/policy_test_utils.h View 1 chunk +8 lines, -0 lines 0 comments Download
M components/policy/core/common/policy_test_utils.cc View 2 chunks +100 lines, -0 lines 0 comments Download
M components/policy/policy_common.gypi View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Joao da Silva
PTAL, thanks! Jochen: components_tests.gyp owner check Daniel: whole thing
6 years, 9 months ago (2014-03-04 01:35:18 UTC) #1
Joao da Silva
+Jói: please review components_tests.gyp, thanks!
6 years, 9 months ago (2014-03-04 14:49:32 UTC) #2
Jói
components_tests.gyp LGTM
6 years, 9 months ago (2014-03-04 14:57:37 UTC) #3
dconnelly
lgtm https://codereview.chromium.org/179813008/diff/20001/components/policy/core/common/mac_util.h File components/policy/core/common/mac_util.h (right): https://codereview.chromium.org/179813008/diff/20001/components/policy/core/common/mac_util.h#newcode22 components/policy/core/common/mac_util.h:22: // entries whose key is not a CFStringRef ...
6 years, 9 months ago (2014-03-04 21:13:36 UTC) #4
Joao da Silva
Thanks for the reviews! https://codereview.chromium.org/179813008/diff/20001/components/policy/core/common/mac_util.h File components/policy/core/common/mac_util.h (right): https://codereview.chromium.org/179813008/diff/20001/components/policy/core/common/mac_util.h#newcode22 components/policy/core/common/mac_util.h:22: // entries whose key is ...
6 years, 9 months ago (2014-03-04 23:18:01 UTC) #5
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 9 months ago (2014-03-04 23:18:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/179813008/20001
6 years, 9 months ago (2014-03-04 23:18:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/179813008/20001
6 years, 9 months ago (2014-03-05 01:13:34 UTC) #8
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 07:05:59 UTC) #9
Message was sent while issue was closed.
Change committed as 254967

Powered by Google App Engine
This is Rietveld 408576698