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

Issue 60113002: Add a flag to skip robot token fetching for testing device enrollments. (Closed)

Created:
7 years, 1 month ago by pastarmovj
Modified:
7 years, 1 month ago
Reviewers:
Joao da Silva
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Add a flag to skip robot token fetching for testing device enrollments. None of the testing server implementations are currently capable of minting robot OAuth tokens and testing of device enrollment was only possible against actual DMServer. With this flag it will be possible to successfully complete enrollment while still testing the whole enrollment handshake and only skipping the step where the robot token is fetched from GAIA. BUG=313811 TEST=Enrollment against YAPS should succeed. R=joaodasilva@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233262

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc View 1 4 chunks +17 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
pastarmovj
PTAL.
7 years, 1 month ago (2013-11-05 15:29:08 UTC) #1
Joao da Silva
https://codereview.chromium.org/60113002/diff/1/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc File chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc (right): https://codereview.chromium.org/60113002/diff/1/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc#newcode354 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc:354: if (!token_service->SetAndSaveRefreshToken(refresh_token_)) { I think this block could be ...
7 years, 1 month ago (2013-11-05 16:25:48 UTC) #2
pastarmovj
Thanks for the review. PTAL. :) https://codereview.chromium.org/60113002/diff/1/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc File chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc (right): https://codereview.chromium.org/60113002/diff/1/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc#newcode354 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc:354: if (!token_service->SetAndSaveRefreshToken(refresh_token_)) { ...
7 years, 1 month ago (2013-11-05 16:38:58 UTC) #3
Joao da Silva
lgtm
7 years, 1 month ago (2013-11-05 16:40:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/60113002/80001
7 years, 1 month ago (2013-11-05 16:53:12 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=219750
7 years, 1 month ago (2013-11-05 18:26:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/60113002/80001
7 years, 1 month ago (2013-11-06 09:02:05 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94760
7 years, 1 month ago (2013-11-06 12:15:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/60113002/80001
7 years, 1 month ago (2013-11-06 12:18:42 UTC) #9
pastarmovj
7 years, 1 month ago (2013-11-06 13:02:18 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r233262 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698