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

Issue 5348001: Device management constants cleanup (Closed)

Created:
10 years, 1 month ago by Jakob Kummerow
Modified:
9 years, 6 months ago
Reviewers:
danno
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Device management constants cleanup • Move device management protocol constants into shared header file • Filter out policies with unwanted keys when decoding server response This also fixes bug 62058. BUG=62481 TEST=existing unit tests still work: DeviceManagementPolicyProviderTest.*:DeviceTokenFetcherTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67259

Patch Set 1 #

Patch Set 2 : add missing files #

Total comments: 2

Patch Set 3 : fix nit; fix DMPolicyCache unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -15 lines) Patch
M chrome/browser/policy/device_management_policy_cache.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_policy_cache_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/policy/device_management_policy_provider.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/policy/device_management_service_browsertest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/policy/device_management_service_unittest.cc View 5 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/policy/mock_device_management_backend.cc View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/policy/proto/device_management_constants.h View 2 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/policy/proto/device_management_constants.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Jakob Kummerow
Here you go, please review. I hope that I found all hardcoded occurrences of the ...
10 years, 1 month ago (2010-11-23 18:29:40 UTC) #1
danno
looks like device_management_constants.h/cc are missing from the CL?
10 years, 1 month ago (2010-11-24 09:50:50 UTC) #2
danno
One nit + try bots seem to have surfaced real failures related to this change. ...
10 years, 1 month ago (2010-11-24 10:20:42 UTC) #3
Jakob Kummerow
Fixed nit. Also fixed those unit tests (I had missed an occurrence of the policy_key). ...
10 years, 1 month ago (2010-11-24 10:35:51 UTC) #4
danno
10 years, 1 month ago (2010-11-24 10:54:17 UTC) #5
LGTM pending green trybots

Powered by Google App Engine
This is Rietveld 408576698