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

Side by Side Diff: tools/telemetry/telemetry/platform.py

Issue 11361165: [chrome_remote_control] Rename chrome_remote_control to telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « tools/telemetry/telemetry/page_test.py ('k') | tools/telemetry/telemetry/possible_browser.py » ('j') | 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 class Platform(object): 5 class Platform(object):
6 """The platform that the target browser is running on. 6 """The platform that the target browser is running on.
7 7
8 Provides a limited interface to obtain stats from the platform itself, where 8 Provides a limited interface to obtain stats from the platform itself, where
9 possible. 9 possible.
10 """ 10 """
11 11
12 def GetSurfaceCollector(self, trace_tag): 12 def GetSurfaceCollector(self, trace_tag):
13 """Platforms may be able to collect GL surface stats.""" 13 """Platforms may be able to collect GL surface stats."""
14 class StubSurfaceCollector(object): 14 class StubSurfaceCollector(object):
15 def __init__(self, trace_tag): 15 def __init__(self, trace_tag):
16 pass 16 pass
17 def __enter__(self): 17 def __enter__(self):
18 pass 18 pass
19 def __exit__(self, *args): 19 def __exit__(self, *args):
20 pass 20 pass
21 21
22 return StubSurfaceCollector(trace_tag) 22 return StubSurfaceCollector(trace_tag)
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page_test.py ('k') | tools/telemetry/telemetry/possible_browser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698