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

Unified Diff: chrome/test/pyautolib/pyauto_errors.py

Issue 10408072: Rewrite of the EnrollEnterpriseDevice PyAuto automation hook for WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: std::string -> const std::string& and style fixes Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/pyautolib/pyauto_errors.py
diff --git a/chrome/test/pyautolib/pyauto_errors.py b/chrome/test/pyautolib/pyauto_errors.py
index a5680e557442dafba84bf4b517db28737d0053a1..853e67c2e98d57e29923043d123790c0adfc0be5 100644
--- a/chrome/test/pyautolib/pyauto_errors.py
+++ b/chrome/test/pyautolib/pyauto_errors.py
@@ -8,11 +8,18 @@ class JavascriptRuntimeError(RuntimeError):
"""Represent an error raised by injected Javascript."""
pass
+
class JSONInterfaceError(RuntimeError):
"""Represent an error in the JSON ipc interface."""
pass
+
class NTPThumbnailNotShownError(RuntimeError):
"""Represent an error from attempting to manipulate a NTP thumbnail that
is not visible to a real user."""
pass
+
+
+class EnrollmentError(RuntimeError):
+ """Represent an error enrolling the Chrome OS device."""
+ pass

Powered by Google App Engine
This is Rietveld 408576698