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

Issue 10408072: Rewrite of the EnrollEnterpriseDevice PyAuto automation hook for WebUI. (Closed)

Created:
8 years, 7 months ago by craigdh
Modified:
8 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, Nirnimesh, kkania, anantha, robertshield, dyu1, dennis_jeffrey, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Rewrite of the EnrollEnterpriseDevice PyAuto automation hook for WebUI. The enroll device automation hook previously never returned when enrollment failed. This rewrite will throw an EnrollmentError when enrollment fails with a string describing the cause of the error. This rewrite will also (hopefully) fix flakiness issues seen with the previous hook. BUG=chromium-os:29466, chromium-os:22280, chromium-os:25640 TEST=desktopui_EnterprisePolicyServer Change-Id: I380c7047d6feb1934811ebe66d69fd1e426039bc

Patch Set 1 #

Total comments: 10

Patch Set 2 : std::string -> const std::string& and style fixes #

Total comments: 8

Patch Set 3 : Addressed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -119 lines) Patch
M chrome/browser/automation/automation_event_observers.h View 1 3 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/automation/automation_event_observers_chromeos.cc View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.h View 1 chunk +0 lines, -25 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers_chromeos.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 2 2 chunks +35 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc View 1 2 5 chunks +5 lines, -16 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 2 chunks +14 lines, -13 lines 0 comments Download
M chrome/test/pyautolib/pyauto_errors.py View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
craigdh
8 years, 7 months ago (2012-05-22 23:07:56 UTC) #1
Mattias Nissler (ping if slow)
I like the direction in general, but I cannot see why this would fix flakiness. ...
8 years, 7 months ago (2012-05-23 19:47:50 UTC) #2
craigdh
I do not know for certain why it was flaky before, but frankf reported a ...
8 years, 7 months ago (2012-05-24 21:17:25 UTC) #3
Mattias Nissler (ping if slow)
LGTM once you fix the remaining nits http://codereview.chromium.org/10408072/diff/6001/chrome/browser/automation/automation_event_observers_chromeos.cc File chrome/browser/automation/automation_event_observers_chromeos.cc (right): http://codereview.chromium.org/10408072/diff/6001/chrome/browser/automation/automation_event_observers_chromeos.cc#newcode60 chrome/browser/automation/automation_event_observers_chromeos.cc:60: bool succeeded, ...
8 years, 7 months ago (2012-05-25 13:17:22 UTC) #4
craigdh
https://chromiumcodereview.appspot.com/10408072/diff/6001/chrome/browser/automation/automation_event_observers_chromeos.cc File chrome/browser/automation/automation_event_observers_chromeos.cc (right): https://chromiumcodereview.appspot.com/10408072/diff/6001/chrome/browser/automation/automation_event_observers_chromeos.cc#newcode60 chrome/browser/automation/automation_event_observers_chromeos.cc:60: bool succeeded, const std::string& error_string) { On 2012/05/25 13:17:22, ...
8 years, 6 months ago (2012-05-25 23:24:47 UTC) #5
bartfab (slow)
I assume that this CL has been deprecated along with PyAuto. Removing myself as reviewer ...
8 years ago (2012-11-30 12:51:28 UTC) #6
craigdh
8 years ago (2012-11-30 17:30:46 UTC) #7
Message was sent while issue was closed.
On 2012/11/30 12:51:28, bartfab wrote:
> I assume that this CL has been deprecated along with PyAuto. Removing myself
as
> reviewer to unclutter the "Reviewable by me" list in code review :).

Abandoned. PyAuto has been deprecated.

Powered by Google App Engine
This is Rietveld 408576698