Index: tools/telemetry/telemetry/core/backends/chrome/inspector_network.py |
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py |
index 32b4e8d050b0803283b7a9065c9e23001678b57c..2272cec95a19e0eba1b699fb854021f8a8851cc6 100644 |
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py |
+++ b/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py |
@@ -115,6 +115,7 @@ class InspectorNetworkResponseData(object): |
params['requestId'] = event.args['requestId'] |
params['response'] = event.args['response'] |
recorded = InspectorNetworkResponseData(None, params) |
+ # pylint: disable=protected-access |
recorded._body = event.args['body'] |
recorded._base64_encoded = event.args['base64_encoded_body'] |
recorded._served_from_cache = event.args['served_from_cache'] |
@@ -184,7 +185,7 @@ class InspectorNetwork(object): |
def GetHTTPResponseBody(self, request_id, timeout=60): |
try: |
- res = self._inspector_backend.SyncRequest({ |
+ res = self._inspector_backend.SyncRequest({ |
'method': 'Network.getResponseBody', |
'params': { |
'requestId': request_id, |
@@ -204,7 +205,7 @@ class InspectorNetwork(object): |
pass |
@property |
- def timeline_recorder (self): |
+ def timeline_recorder(self): |
if not self._timeline_recorder: |
self._timeline_recorder = TimelineRecorder(self) |
return self._timeline_recorder |