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

Issue 1892093002: Add AndroidManagementClient (Closed)

Created:
4 years, 8 months ago by Polina Bondarenko
Modified:
4 years, 7 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add AndroidManagementClient Add check_android_management device management request/response. BUG=602612 Committed: https://crrev.com/bcd3a5f2c390ced304fdd1700c08ed30e09b16a3 Cr-Commit-Position: refs/heads/master@{#390620}

Patch Set 1 : Fixed comments. #

Patch Set 2 : Added unit test. #

Patch Set 3 : Removed unnecessary new SC_CONFLICT dm status. #

Total comments: 3

Patch Set 4 : Fixed client-server communication error. #

Patch Set 5 : Added access token fetch mechanism to AndroidManagementClient #

Patch Set 6 : scoped_ptr -> unique_ptr #

Patch Set 7 : Removed ptr_util.h #

Total comments: 18

Patch Set 8 : Fixed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -1 line) Patch
A chrome/browser/chromeos/policy/android_management_client.h View 1 2 3 4 5 6 7 1 chunk +100 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/policy/android_management_client.cc View 1 2 3 4 5 6 7 1 chunk +116 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/policy/android_management_client_unittest.cc View 1 2 3 4 5 6 7 1 chunk +108 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/policy/proto/device_management_backend.proto View 1 2 3 4 5 6 7 5 chunks +21 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (18 generated)
Polina Bondarenko
PTAL. The code is getting HTTP error code 500, a text of HTTP request itself ...
4 years, 8 months ago (2016-04-15 13:04:28 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/60001
4 years, 8 months ago (2016-04-18 14:13:28 UTC) #5
bartfab (slow)
Can we get tests for this? https://codereview.chromium.org/1892093002/diff/60001/chrome/browser/chromeos/policy/android_management_client.cc File chrome/browser/chromeos/policy/android_management_client.cc (right): https://codereview.chromium.org/1892093002/diff/60001/chrome/browser/chromeos/policy/android_management_client.cc#newcode8 chrome/browser/chromeos/policy/android_management_client.cc:8: #include "chrome/browser/chromeos/login/session/user_session_manager.h" Nit: ...
4 years, 8 months ago (2016-04-18 14:44:46 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 15:13:22 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/100001
4 years, 8 months ago (2016-04-18 15:48:19 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 16:43:55 UTC) #16
Polina Bondarenko
Fixed comments, added test.
4 years, 8 months ago (2016-04-18 19:02:50 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/120001
4 years, 8 months ago (2016-04-18 19:41:40 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 20:41:02 UTC) #21
Polina Bondarenko
Bartosz, PTAL, added unit_test and removed unnecessary dm status constants.
4 years, 8 months ago (2016-04-19 13:23:35 UTC) #22
bartfab (slow)
Thiemo, would you have time to take a look? I started reviewing last week but ...
4 years, 8 months ago (2016-04-26 14:15:33 UTC) #24
Polina Bondarenko
https://codereview.chromium.org/1892093002/diff/140001/chrome/browser/chromeos/policy/android_management_client_unittest.cc File chrome/browser/chromeos/policy/android_management_client_unittest.cc (right): https://codereview.chromium.org/1892093002/diff/140001/chrome/browser/chromeos/policy/android_management_client_unittest.cc#newcode51 chrome/browser/chromeos/policy/android_management_client_unittest.cc:51: void SetUp() { CreateClient(); } On 2016/04/26 14:15:33, bartfab ...
4 years, 8 months ago (2016-04-26 14:22:56 UTC) #25
bartfab (slow)
https://codereview.chromium.org/1892093002/diff/140001/chrome/browser/chromeos/policy/android_management_client_unittest.cc File chrome/browser/chromeos/policy/android_management_client_unittest.cc (right): https://codereview.chromium.org/1892093002/diff/140001/chrome/browser/chromeos/policy/android_management_client_unittest.cc#newcode51 chrome/browser/chromeos/policy/android_management_client_unittest.cc:51: void SetUp() { CreateClient(); } On 2016/04/26 14:22:56, Polina ...
4 years, 8 months ago (2016-04-26 14:23:58 UTC) #26
Polina Bondarenko
Added the fetch access token to AndroidManagementClient. Dependent review, which uses AndroidManagementClient: https://codereview.chromium.org/1892873002/
4 years, 7 months ago (2016-04-27 14:50:15 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/180001
4 years, 7 months ago (2016-04-27 15:03:05 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/161375)
4 years, 7 months ago (2016-04-27 15:22:56 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/200001
4 years, 7 months ago (2016-04-27 15:31:45 UTC) #33
Thiemo Nagel
https://codereview.chromium.org/1892093002/diff/220001/chrome/browser/chromeos/policy/android_management_client.cc File chrome/browser/chromeos/policy/android_management_client.cc (right): https://codereview.chromium.org/1892093002/diff/220001/chrome/browser/chromeos/policy/android_management_client.cc#newcode52 chrome/browser/chromeos/policy/android_management_client.cc:52: void AndroidManagementClient::SetAccessTokenForTesting( What would you think of passing the ...
4 years, 7 months ago (2016-04-28 13:27:00 UTC) #34
Polina Bondarenko
Thanks for reviewing this CL! I fixed comments. https://codereview.chromium.org/1892093002/diff/220001/chrome/browser/chromeos/policy/android_management_client.cc File chrome/browser/chromeos/policy/android_management_client.cc (right): https://codereview.chromium.org/1892093002/diff/220001/chrome/browser/chromeos/policy/android_management_client.cc#newcode52 chrome/browser/chromeos/policy/android_management_client.cc:52: void ...
4 years, 7 months ago (2016-04-28 16:18:40 UTC) #35
Thiemo Nagel
LGTM! Nit: Whenever you rebase, please do it as a separate upload (and call it ...
4 years, 7 months ago (2016-04-29 10:38:19 UTC) #36
Polina Bondarenko
On 2016/04/29 10:38:19, Thiemo Nagel wrote: > LGTM! > > Nit: Whenever you rebase, please ...
4 years, 7 months ago (2016-04-29 10:46:44 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892093002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892093002/240001
4 years, 7 months ago (2016-04-29 10:47:03 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:240001)
4 years, 7 months ago (2016-04-29 11:46:31 UTC) #40
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:25:05 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/bcd3a5f2c390ced304fdd1700c08ed30e09b16a3
Cr-Commit-Position: refs/heads/master@{#390620}

Powered by Google App Engine
This is Rietveld 408576698