|
[DO NOT COMMIT] Re-use the dafsa code for s-w-r histograms
This CL has been split into https://codereview.chromium.org/1412343008/ and
https://codereview.chromium.org/1433893002/. This version does not contain
the latest changes.
The dafsa code used by registry_controller_domains can be used as a
generic string set. This is useful for matching domains for histograms
for the stale-while-revalidate experiment.
The LookupString() function which was file-local in //net/base/registry_controlled_domains has been moved to
//net/base/dafsa so that it can used from other files.
//net/base/swr_histogram_domains adds roughly 800 bytes to the binary size and so will be removed promptly once the experiment is over.
BUG= 348877
TEST=net_unittests
Total comments: 6
Total comments: 11
Total comments: 15
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+629 lines, -1415 lines) |
Patch |
|
A + |
chrome/browser/page_load_metrics/observers/stale_while_revalidate_metrics_observer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+17 lines, -12 lines |
0 comments
|
Download
|
|
A |
chrome/browser/page_load_metrics/observers/stale_while_revalidate_metrics_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/page_load_metrics/page_load_metrics_initialize.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
net/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+14 lines, -0 lines |
2 comments
|
Download
|
|
A |
net/base/dafsa/lookup_string.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+29 lines, -0 lines |
4 comments
|
Download
|
|
A |
net/base/dafsa/lookup_string.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+152 lines, -0 lines |
2 comments
|
Download
|
|
M |
net/base/registry_controlled_domains/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/base/registry_controlled_domains/registry_controlled_domain.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -141 lines |
0 comments
|
Download
|
|
A |
net/base/swr_histogram_domains/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/base/swr_histogram_domains/swr_histogram_domains.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/base/swr_histogram_domains/swr_histogram_domains.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/base/swr_histogram_domains/swr_histogram_domains.gperf
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+117 lines, -0 lines |
2 comments
|
Download
|
|
A |
net/base/swr_histogram_domains/swr_histogram_domains_unittest.cc
|
View
|
1
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/net.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+21 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/net.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
4 comments
|
Download
|
|
A + |
net/tools/dafsa/PRESUBMIT.py
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
net/tools/dafsa/make_dafsa.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
net/tools/dafsa/make_dafsa_unittest.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
net/tools/tld_cleanup/PRESUBMIT.py
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
D |
net/tools/tld_cleanup/make_dafsa.py
|
View
|
|
1 chunk |
+0 lines, -469 lines |
0 comments
|
Download
|
|
D |
net/tools/tld_cleanup/make_dafsa_unittest.py
|
View
|
|
1 chunk |
+0 lines, -757 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (7 generated)
|