|
Refactor VariationsHttpHeaderProvider.
The goal is to move the bulk of its implementation to the main
variations component, so that it can be used by this CL from JNI:
https://codereview.chromium.org/1528543003/
Creates variations_http_headers.cc in net that still needs to depend
on net, which uses the http header provider internally. Updates
callers of the previous API to use the new simpler API that doesn't
require going through the singleton by clients.
Additionally, also adds variations/synthetic_trials.h and moves
the synthetic trials structs from metrics_service.h to the new
file. This works around an otherwise circular dependency between
metrics and variations, since variations_http_header_provider.cc
depends on synthetic trials.
TBRs below are for owners of downstream users of the API which
is being updated.
BUG= 530223
TBR=caitkp@chromium.org,thestig@chromium.org
Committed: https://crrev.com/9a2798399231b89c9becb3c9ca016da34550ebd2
Cr-Commit-Position: refs/heads/master@{#365991}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+540 lines, -913 lines) |
Patch |
 |
M |
chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_browser_main.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
View
|
|
3 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/srt_fetcher_win.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_download_manager.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/feedback.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/feedback/feedback_uploader_chrome.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/feedback/feedback_uploader_chrome_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service.h
|
View
|
|
6 chunks |
+19 lines, -48 lines |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service.cc
|
View
|
|
4 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service_accessor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/metrics/metrics_service_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/omnibox.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/omnibox/browser/search_provider.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/browser/zero_suggest_provider.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/suggestions.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/suggestions/suggestions_service.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/variations.gypi
|
View
|
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/variations/BUILD.gn
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/variations/net/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
components/variations/net/variations_http_header_provider.h
|
View
|
|
1 chunk |
+0 lines, -130 lines |
0 comments
|
Download
|
 |
D |
components/variations/net/variations_http_header_provider.cc
|
View
|
|
1 chunk |
+0 lines, -291 lines |
0 comments
|
Download
|
 |
D |
components/variations/net/variations_http_header_provider_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -238 lines |
0 comments
|
Download
|
 |
A |
components/variations/net/variations_http_headers.h
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/variations/net/variations_http_headers.cc
|
View
|
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/variations/net/variations_http_headers_unittest.cc
|
View
|
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/variations/synthetic_trials.h
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/variations/synthetic_trials.cc
|
View
|
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
components/variations/variations_http_header_provider.h
|
View
|
|
8 chunks |
+11 lines, -34 lines |
0 comments
|
Download
|
 |
A + |
components/variations/variations_http_header_provider.cc
|
View
|
|
10 chunks |
+15 lines, -100 lines |
0 comments
|
Download
|
 |
A |
components/variations/variations_http_header_provider_unittest.cc
|
View
|
|
1 chunk |
+126 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (16 generated)
|