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

Unified Diff: tools/telemetry/telemetry/core/platform/__init__.py

Issue 809473004: Make Telemetry tests check the configuration of the OSX Keychain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove gyp targets. Created 5 years, 10 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: tools/telemetry/telemetry/core/platform/__init__.py
diff --git a/tools/telemetry/telemetry/core/platform/__init__.py b/tools/telemetry/telemetry/core/platform/__init__.py
index a4cb6044bb81ea79962ae2dc3b47383cc8759900..1421d6029242d98e9dcb4991da009c2c8b23d92e 100644
--- a/tools/telemetry/telemetry/core/platform/__init__.py
+++ b/tools/telemetry/telemetry/core/platform/__init__.py
@@ -128,6 +128,12 @@ class Platform(object):
Examples: VISTA, WIN7, LION, MOUNTAINLION"""
return self._platform_backend.GetOSVersionName()
+ def GetOSVersionNumber(self):
+ """Returns an integer description of the Platform OS major version.
+
+ Examples: On Mac, 13 for Mavericks, 14 for Yosemite."""
+ return self._platform_backend.GetOSVersionNumber()
+
def CanFlushIndividualFilesFromSystemCache(self):
"""Returns true if the disk cache can be flushed for specific files."""
return self._platform_backend.CanFlushIndividualFilesFromSystemCache()
« no previous file with comments | « tools/telemetry/bin/mac/x86_64/determine_if_keychain_is_locked.sha1 ('k') | tools/telemetry/telemetry/util/mac/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698