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

Issue 651443005: Use no-op statistics collecting object for WebView (Closed)

Created:
6 years, 2 months ago by hush (inactive)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor2
Project:
chromium
Visibility:
Public.

Description

Use no-op statistics collecting object for WebView. WebView does not gather data_reduction_proxy related statistics at the moment. WebView's statistics object writes the data to pref service which does not upload the data to anywhere. BUG=426140 Committed: https://crrev.com/4441cc1d6e7ac564a885ad425b2e8914977438d7 Cr-Commit-Position: refs/heads/master@{#300613}

Patch Set 1 : #

Patch Set 2 : Selim and Ben's comments #

Total comments: 21

Patch Set 3 : address some of the comments. #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : rewrite with simpler changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (8 generated)
hush (inactive)
internal bug: b/17998706
6 years, 2 months ago (2014-10-16 20:16:44 UTC) #4
bengr
On 2014/10/16 20:16:44, hush wrote: > internal bug: b/17998706 I don't understand this approach. Is ...
6 years, 2 months ago (2014-10-16 20:23:21 UTC) #5
bengr
On 2014/10/16 20:16:44, hush wrote: > internal bug: b/17998706 I don't understand this approach. Is ...
6 years, 2 months ago (2014-10-16 20:24:10 UTC) #6
bengr
On 2014/10/16 20:16:44, hush wrote: > internal bug: b/17998706 I don't understand this approach. Is ...
6 years, 2 months ago (2014-10-16 20:24:17 UTC) #7
hush (inactive)
On 2014/10/16 20:24:17, bengr1 wrote: > On 2014/10/16 20:16:44, hush wrote: > > internal bug: ...
6 years, 2 months ago (2014-10-16 21:04:33 UTC) #8
bengr
On 2014/10/16 21:04:33, hush wrote: > On 2014/10/16 20:24:17, bengr1 wrote: > > On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 21:12:14 UTC) #9
hush (inactive)
On 2014/10/16 21:12:14, bengr1 wrote: > On 2014/10/16 21:04:33, hush wrote: > > On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 21:42:58 UTC) #10
bengr
On 2014/10/16 21:42:58, hush wrote: > On 2014/10/16 21:12:14, bengr1 wrote: > > On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 22:09:39 UTC) #11
hush (inactive)
On 2014/10/16 22:09:39, bengr1 wrote: > On 2014/10/16 21:42:58, hush wrote: > > On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 22:17:12 UTC) #12
sgurun-gerrit only
The name statisticsprefs is confusing to me. I thought they were some prefs to enable ...
6 years, 2 months ago (2014-10-16 23:20:33 UTC) #13
sgurun-gerrit only
Actually, I think it is better to push such logic to Data Reduction Proxy component ...
6 years, 2 months ago (2014-10-16 23:57:09 UTC) #14
hush (inactive)
PTAL
6 years, 2 months ago (2014-10-17 20:19:20 UTC) #15
sgurun-gerrit only
just looked webview side and very little to drp changes. https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc#newcode47 ...
6 years, 2 months ago (2014-10-17 20:29:38 UTC) #16
hush (inactive)
https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc#newcode47 android_webview/browser/net/aw_url_request_context_getter.cc:47: using data_reduction_proxy::DataReductionProxyStatisticsPrefs; On 2014/10/17 20:29:38, sgurun wrote: > stale? ...
6 years, 2 months ago (2014-10-17 21:19:48 UTC) #17
bengr
https://codereview.chromium.org/651443005/diff/40001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/651443005/diff/40001/chrome/browser/profiles/profile_impl.cc#newcode673 chrome/browser/profiles/profile_impl.cc:673: data_reduction_proxy_chrome_settings->SetDataReductionProxyStatistics( On 2014/10/17 20:29:38, sgurun wrote: > same here. ...
6 years, 2 months ago (2014-10-17 23:40:27 UTC) #18
hush (inactive)
https://codereview.chromium.org/651443005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h (right): https://codereview.chromium.org/651443005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h#newcode313 components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h:313: DataReductionProxyStatistics* drp_statistics_; On 2014/10/17 23:40:27, bengr1 wrote: > I ...
6 years, 2 months ago (2014-10-18 01:54:29 UTC) #19
hush (inactive)
https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/651443005/diff/40001/android_webview/browser/net/aw_url_request_context_getter.cc#newcode242 android_webview/browser/net/aw_url_request_context_getter.cc:242: // which means a default dummy DataReductionProxyStatistics will be ...
6 years, 2 months ago (2014-10-18 02:09:15 UTC) #20
hush (inactive)
bengr@ PTAL
6 years, 2 months ago (2014-10-20 20:27:18 UTC) #21
bengr
https://codereview.chromium.org/651443005/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics.cc (right): https://codereview.chromium.org/651443005/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics.cc#newcode15 components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics.cc:15: int64 DataReductionProxyStatistics::GetInt64(const char* stats_name) { Check if the pointer ...
6 years, 2 months ago (2014-10-20 21:26:25 UTC) #22
hush (inactive)
sorry about going back and forth on this CL.... Me and Selim had another discussion ...
6 years, 2 months ago (2014-10-21 22:59:47 UTC) #24
sgurun-gerrit only
lgtm
6 years, 2 months ago (2014-10-21 23:23:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/651443005/120001
6 years, 2 months ago (2014-10-21 23:34:46 UTC) #27
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
6 years, 2 months ago (2014-10-21 23:34:51 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/651443005/120001
6 years, 2 months ago (2014-10-21 23:38:38 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:120001)
6 years, 2 months ago (2014-10-22 01:50:46 UTC) #33
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 04:05:14 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4441cc1d6e7ac564a885ad425b2e8914977438d7
Cr-Commit-Position: refs/heads/master@{#300613}

Powered by Google App Engine
This is Rietveld 408576698