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

Issue 6161007: New protocol and testserver for the Chrome-DMServer protocol (Closed)

Created:
9 years, 11 months ago by gfeher
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org, markusheintz_, danno, Paweł Hajdan Jr.
Visibility:
Public.

Description

New protocol and testserver for the Chrome-DMServer protocol New features: -Message to ping DMServer and ask if a user is managed -Signed policy responses -Server assigns names to ChromeOS devices A temporary version of cloud_policies.proto is also checked in (it will be auto-generated later). BUG=chromium-os:11253, chromium-os:11254 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72975

Patch Set 1 : " #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : add testserver #

Patch Set 4 : " #

Patch Set 5 : " #

Total comments: 2

Patch Set 6 : add signing #

Patch Set 7 : implement managed_check and send back device_name #

Patch Set 8 : (rebase) #

Patch Set 9 : fix test and add testserver support for certificate chains #

Patch Set 10 : likely fix windows build #

Patch Set 11 : serialized list protos -> repeated fields #

Total comments: 30

Patch Set 12 : address comments + some cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+583 lines, -45 lines) Patch
A chrome/browser/policy/proto/cloud_policy.proto View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +221 lines, -0 lines 0 comments Download
M chrome/browser/policy/proto/device_management_backend.proto View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +119 lines, -28 lines 0 comments Download
M chrome/browser/policy/proto/device_management_proto.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/policy/device_management View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -1 line 0 comments Download
M net/test/test_server.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M net/test/test_server.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -2 lines 0 comments Download
M net/tools/testserver/device_management.py View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +213 lines, -11 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
gfeher
Hi Folks, This is my current understanding of what we want for the next DMServer<->Chrome ...
9 years, 11 months ago (2011-01-12 16:22:41 UTC) #1
gfeher
9 years, 11 months ago (2011-01-12 16:23:12 UTC) #2
danno
here you go... http://codereview.chromium.org/6161007/diff/1004/chrome/browser/policy/proto/device_management_backend.proto File chrome/browser/policy/proto/device_management_backend.proto (right): http://codereview.chromium.org/6161007/diff/1004/chrome/browser/policy/proto/device_management_backend.proto#newcode51 chrome/browser/policy/proto/device_management_backend.proto:51: message NewDevicePolicySetting { s/NewDevicePolicy/DevicePolicySettings everywhere in ...
9 years, 11 months ago (2011-01-13 12:09:53 UTC) #3
Mattias Nissler (ping if slow)
A few comments. http://codereview.chromium.org/6161007/diff/25001/net/tools/testserver/device_management.py File net/tools/testserver/device_management.py (right): http://codereview.chromium.org/6161007/diff/25001/net/tools/testserver/device_management.py#newcode41 net/tools/testserver/device_management.py:41: logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG) I guess these two lines ...
9 years, 11 months ago (2011-01-25 11:05:57 UTC) #4
gfeher
How about landing this? cloud_policy.proto is a generated file, Jakob's CL generates it. I can ...
9 years, 11 months ago (2011-01-27 15:39:50 UTC) #5
Mattias Nissler (ping if slow)
looks pretty good, just some nits/minor comments. http://codereview.chromium.org/6161007/diff/58001/chrome/browser/policy/proto/cloud_policy.proto File chrome/browser/policy/proto/cloud_policy.proto (right): http://codereview.chromium.org/6161007/diff/58001/chrome/browser/policy/proto/cloud_policy.proto#newcode23 chrome/browser/policy/proto/cloud_policy.proto:23: optional PolicyMode ...
9 years, 11 months ago (2011-01-28 10:29:34 UTC) #6
Jakob Kummerow
A few more nits from me :-) As discussed, the biggest issue I see is ...
9 years, 11 months ago (2011-01-28 10:45:52 UTC) #7
gfeher
Thanks for the comments! I've addressed them and did some extra cleanups. http://codereview.chromium.org/6161007/diff/58001/chrome/browser/policy/proto/cloud_policy.proto File chrome/browser/policy/proto/cloud_policy.proto ...
9 years, 11 months ago (2011-01-28 13:42:09 UTC) #8
Mattias Nissler (ping if slow)
LGTM!
9 years, 11 months ago (2011-01-28 14:00:28 UTC) #9
Jakob Kummerow
9 years, 11 months ago (2011-01-28 14:22:36 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698