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

Issue 11434053: Add support for public account policy to CloudPolicyClient. (Closed)

Created:
8 years ago by Mattias Nissler (ping if slow)
Modified:
8 years ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add support for public account policy to CloudPolicyClient. BUG=chromium:152937 TEST=Manual, user policy still works. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170991

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 15

Patch Set 3 : Address feedback. #

Patch Set 4 : Rebase. #

Total comments: 2

Patch Set 5 : Address comment. #

Patch Set 6 : Address feedback. #

Patch Set 7 : Fix non-CrOS build and tests. #

Patch Set 8 : Trying to please the clang style plugin... #

Total comments: 2

Patch Set 9 : fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -86 lines) Patch
M chrome/browser/policy/browser_policy_connector.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/cloud_policy_client.h View 1 2 6 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/policy/cloud_policy_client.cc View 1 2 3 chunks +18 lines, -10 lines 0 comments Download
M chrome/browser/policy/cloud_policy_client_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/policy/device_cloud_policy_manager_chromeos.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/mock_cloud_policy_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/mock_cloud_policy_store.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/policy/mock_cloud_policy_store.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/proto/device_management_backend.proto View 1 5 chunks +16 lines, -9 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager_chromeos.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager_chromeos.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager_chromeos_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_store_chromeos_unittest.cc View 1 2 chunks +1 line, -12 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_store_unittest.cc View 1 2 chunks +1 line, -12 lines 0 comments Download
M net/tools/testserver/device_management.py View 1 2 3 4 5 6 7 8 7 chunks +38 lines, -22 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Mattias Nissler (ping if slow)
Hey folks, please review. This is a part of an earlier CL that you might ...
8 years ago (2012-11-30 13:12:31 UTC) #1
Mattias Nissler (ping if slow)
+Joao
8 years ago (2012-12-03 11:23:18 UTC) #2
pastarmovj
This was a Deja Vu for me and is still lgtm with one nit. https://chromiumcodereview.appspot.com/11434053/diff/3001/chrome/browser/policy/cloud_policy_client.cc ...
8 years ago (2012-12-03 11:47:40 UTC) #3
bartfab (slow)
lgtm https://chromiumcodereview.appspot.com/11434053/diff/3001/chrome/browser/policy/cloud_policy_client.cc File chrome/browser/policy/cloud_policy_client.cc (right): https://chromiumcodereview.appspot.com/11434053/diff/3001/chrome/browser/policy/cloud_policy_client.cc#newcode177 chrome/browser/policy/cloud_policy_client.cc:177: NOTREACHED() << "Invalid policy scope " << type_; ...
8 years ago (2012-12-03 12:28:40 UTC) #4
Mattias Nissler (ping if slow)
Thanks for the review. I've made some changes to device_management.py to play nicer with public ...
8 years ago (2012-12-03 13:50:39 UTC) #5
bartfab (slow)
still lgtm https://chromiumcodereview.appspot.com/11434053/diff/3001/chrome/browser/policy/proto/device_management_backend.proto File chrome/browser/policy/proto/device_management_backend.proto (right): https://chromiumcodereview.appspot.com/11434053/diff/3001/chrome/browser/policy/proto/device_management_backend.proto#newcode264 chrome/browser/policy/proto/device_management_backend.proto:264: // The unit is milli-second. I think ...
8 years ago (2012-12-03 14:01:05 UTC) #6
Mattias Nissler (ping if slow)
Thanks for the reviews, I'll submit this as time permits if there are no further ...
8 years ago (2012-12-03 16:49:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/11434053/14019
8 years ago (2012-12-04 10:23:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/11434053/6007
8 years ago (2012-12-04 12:52:59 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests
8 years ago (2012-12-04 15:37:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/11434053/6007
8 years ago (2012-12-04 16:02:11 UTC) #11
Joao da Silva
lgtm (I hope this doesn't break the CQ...) https://codereview.chromium.org/11434053/diff/6007/net/tools/testserver/device_management.py File net/tools/testserver/device_management.py (right): https://codereview.chromium.org/11434053/diff/6007/net/tools/testserver/device_management.py#newcode45 net/tools/testserver/device_management.py:45: } ...
8 years ago (2012-12-04 16:33:30 UTC) #12
Mattias Nissler (ping if slow)
8 years ago (2012-12-04 16:58:36 UTC) #13
The CQ is a joke btw, I can't believe anybody doing serious work is still using
it.

https://codereview.chromium.org/11434053/diff/6007/net/tools/testserver/devic...
File net/tools/testserver/device_management.py (right):

https://codereview.chromium.org/11434053/diff/6007/net/tools/testserver/devic...
net/tools/testserver/device_management.py:45: }
On 2012/12/04 16:33:31, Joao da Silva wrote:
> nitty nit: comma

Done.

Powered by Google App Engine
This is Rietveld 408576698