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

Unified Diff: telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py

Issue 2831193002: [Telemetry] Move chrome tracing agent exceptions to use telemetry.core.exceptions (Closed)
Patch Set: add tests Created 3 years, 8 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
« no previous file with comments | « no previous file | telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py
diff --git a/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py b/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py
index 057298957e4c41dc1e3fd934d958c8edf8aa83d6..70e9b8a289920d888ad9204c5a7104a5bfccc84f 100644
--- a/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py
+++ b/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py
@@ -13,6 +13,7 @@ import tempfile
import traceback
from py_trace_event import trace_time
+from telemetry.core import exceptions
from telemetry.internal.platform import tracing_agent
from telemetry.internal.platform.tracing_agent import (
chrome_tracing_devtools_manager)
@@ -36,15 +37,15 @@ def ClearStarupTracingStateIfNeeded(platform_backend):
['rm', '-f', trace_config_file], check_return=True, as_root=True)
-class ChromeTracingStartedError(Exception):
+class ChromeTracingStartedError(exceptions.Error):
pass
-class ChromeTracingStoppedError(Exception):
+class ChromeTracingStoppedError(exceptions.Error):
pass
-class ChromeClockSyncError(Exception):
+class ChromeClockSyncError(exceptions.Error):
pass
« no previous file with comments | « no previous file | telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698