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

Unified Diff: tools/android/loading/request_track.py

Issue 2112013003: sandwich: Use cachetool's batch mode to speed-up cache processing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@af00
Patch Set: s/Online/Batch Created 4 years, 5 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
« no previous file with comments | « tools/android/loading/chrome_cache.py ('k') | tools/android/loading/sandwich_prefetch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/request_track.py
diff --git a/tools/android/loading/request_track.py b/tools/android/loading/request_track.py
index f14bc65b25f72e7b33f1c3335a73a783b1d4ef18..2a6a7dfc1d0d4d0cdbdfb2aa6e15c9c166f534e6 100644
--- a/tools/android/loading/request_track.py
+++ b/tools/android/loading/request_track.py
@@ -816,7 +816,7 @@ class RequestTrack(devtools_monitor.Track):
assert (status == RequestTrack._STATUS_RESPONSE
or status == RequestTrack._STATUS_DATA)
r.encoded_data_length = params['encodedDataLength']
- assert (r.encoded_data_length > 0 or r.protocol == 'about' or
+ assert (r.encoded_data_length > 0 or r.protocol in {'about', 'blob'} or
r.from_disk_cache or r.served_from_cache)
r.timing.loading_finished = r._TimestampOffsetFromStartMs(
params['timestamp'])
« no previous file with comments | « tools/android/loading/chrome_cache.py ('k') | tools/android/loading/sandwich_prefetch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698