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

Unified Diff: build/android/chrome_profiler/util.py

Issue 290013006: adb_profile_chrome: Refactor into multiple modules and add tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. Created 6 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
« no previous file with comments | « build/android/chrome_profiler/ui.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/chrome_profiler/util.py
diff --git a/tools/telemetry/telemetry/unittest/test.py b/build/android/chrome_profiler/util.py
similarity index 62%
copy from tools/telemetry/telemetry/unittest/test.py
copy to build/android/chrome_profiler/util.py
index 72463488d46ed595256cc6568a81699ad1316c0f..75ef1b6ffac8daee9f5a510ee82feb5109c0dc1b 100644
--- a/tools/telemetry/telemetry/unittest/test.py
+++ b/build/android/chrome_profiler/util.py
@@ -2,8 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry import decorators
+import time
-
-Disabled = decorators.Disabled
-Enabled = decorators.Enabled
+def GetTraceTimestamp():
+ return time.strftime('%Y-%m-%d-%H%M%S', time.localtime())
« no previous file with comments | « build/android/chrome_profiler/ui.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698