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

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

Issue 11187036: Android: start upstreaming some of our perf tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert adb_commands Created 8 years, 2 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 class Platform(object):
6 """The platform that the target browser is running on.
7
8 Provides a limited interface to obtain stats from the platform itself, where
9 possible.
10 """
11
12 def GetSurfaceCollector(self, trace_tag):
13 """Platforms may be able to collect GL surface stats."""
14 class StubSurfaceCollector(object):
15 def __init__(self, trace_tag):
16 pass
17 def __enter__(self):
18 pass
19 def __exit__(self, *args):
20 pass
21
22 return StubSurfaceCollector(trace_tag)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698