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

Side by Side 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: Addressed nits. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/pyautolib/pyauto.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """PyAuto Errors.""" 5 """PyAuto Errors."""
6 6
7 class JavascriptRuntimeError(RuntimeError): 7 class JavascriptRuntimeError(RuntimeError):
8 """Represent an error raised by injected Javascript.""" 8 """Represent an error raised by injected Javascript."""
9 pass 9 pass
10 10
11
11 class JSONInterfaceError(RuntimeError): 12 class JSONInterfaceError(RuntimeError):
12 """Represent an error in the JSON ipc interface.""" 13 """Represent an error in the JSON ipc interface."""
13 pass 14 pass
14 15
16
15 class NTPThumbnailNotShownError(RuntimeError): 17 class NTPThumbnailNotShownError(RuntimeError):
16 """Represent an error from attempting to manipulate a NTP thumbnail that 18 """Represent an error from attempting to manipulate a NTP thumbnail that
17 is not visible to a real user.""" 19 is not visible to a real user."""
18 pass 20 pass
21
22
23 class EnrollmentError(RuntimeError):
24 """Represent an error enrolling the Chrome OS device."""
25 pass
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/pyauto.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698