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

Unified Diff: systrace/profile_chrome/fake_agent_1.py

Issue 3018533002: Implementing a Monsoon power monitor trace agent, utilizing the UI infrastructure that the BattOr a…
Patch Set: Updating static methods and fixing test fakes. Created 3 years, 3 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: systrace/profile_chrome/fake_agent_1.py
diff --git a/systrace/profile_chrome/fake_agent_1.py b/systrace/profile_chrome/fake_agent_1.py
index 62889f4526fe83b9c6679df12fc74885d0e323c3..eae56c9103070cdba2fc852442a8d60fcfa9317c 100644
--- a/systrace/profile_chrome/fake_agent_1.py
+++ b/systrace/profile_chrome/fake_agent_1.py
@@ -38,6 +38,10 @@ class FakeAgent(object):
f.write(self.contents)
return f.name
+ # pylint: disable=no-self-use
Chris Craik 2017/09/26 17:57:35 why override in the fake agents?
ddeptford 2017/09/26 18:05:49 The fake agents don't inherit from the common base
+ def IsConnectionOwner(self):
+ return False
+
# pylint: disable=no-self-use
def SupportsExplicitClockSync(self):
return False

Powered by Google App Engine
This is Rietveld 408576698