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

Issue 1737103002: sandwich: Implements filter-cache sub-command. (Closed)

Created:
4 years, 10 months ago by gabadie
Modified:
4 years, 9 months ago
Reviewers:
pasko, Benoit L, mattcary
CC:
chromium-reviews, gabadie+watch_chromium.org, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@i10
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sandwich: Implements filter-cache sub-command. NoState-Prefetch won't be able to know all the resources to fetch. This new sub-command creates a new cache archive by pruning all resources that can't be discovered by the HTML parser of the main HTML document. BUG=582080 Committed: https://crrev.com/aeb69a7ef733515cc168e9cdd4edcb5642c1b3fc Cr-Commit-Position: refs/heads/master@{#378486}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addresses pasko's comment #

Total comments: 5

Patch Set 3 : Updates loading_trace_paths's help #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -5 lines) Patch
M tools/android/loading/chrome_cache.py View 1 2 chunks +27 lines, -0 lines 0 comments Download
M tools/android/loading/sandwich.py View 1 2 5 chunks +55 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (7 generated)
gabadie
Hi guys, This CL introduces a sub-command that creates a new cache archive by pruning ...
4 years, 10 months ago (2016-02-25 16:15:50 UTC) #2
mattcary
lgtm https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py File tools/android/loading/chrome_cache.py (right): https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py#newcode145 tools/android/loading/chrome_cache.py:145: if os.path.isfile(archive_dest_path): This doesn't seem to be necessary---zipfile ...
4 years, 10 months ago (2016-02-26 09:33:08 UTC) #5
pasko
https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py File tools/android/loading/chrome_cache.py (right): https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py#newcode145 tools/android/loading/chrome_cache.py:145: if os.path.isfile(archive_dest_path): is it really necessary to remove before ...
4 years, 9 months ago (2016-02-26 17:10:07 UTC) #6
gabadie
pasko: new revision uploaded. PTAL. https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py File tools/android/loading/chrome_cache.py (right): https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py#newcode145 tools/android/loading/chrome_cache.py:145: if os.path.isfile(archive_dest_path): On 2016/02/26 ...
4 years, 9 months ago (2016-03-01 10:40:48 UTC) #7
pasko
lgtm on the functionality, we can postpone renaming the args if you are not immediately ...
4 years, 9 months ago (2016-03-01 16:01:11 UTC) #8
gabadie
New revision the amended help uploaded. Commiting once the dependencies are landed. Thanks for your ...
4 years, 9 months ago (2016-03-01 16:40:01 UTC) #9
gabadie
https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py File tools/android/loading/chrome_cache.py (right): https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py#newcode309 tools/android/loading/chrome_cache.py:309: import argparse On 2016/03/01 16:01:11, pasko wrote: > On ...
4 years, 9 months ago (2016-03-01 16:49:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737103002/40001
4 years, 9 months ago (2016-03-01 17:49:01 UTC) #13
pasko
still lgtm https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py File tools/android/loading/chrome_cache.py (right): https://codereview.chromium.org/1737103002/diff/1/tools/android/loading/chrome_cache.py#newcode309 tools/android/loading/chrome_cache.py:309: import argparse On 2016/03/01 16:49:09, gabadie wrote: ...
4 years, 9 months ago (2016-03-01 17:55:54 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-01 18:28:15 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 18:29:20 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aeb69a7ef733515cc168e9cdd4edcb5642c1b3fc
Cr-Commit-Position: refs/heads/master@{#378486}

Powered by Google App Engine
This is Rietveld 408576698