RESOLVED FIXED 31830
Chromium: Expose method for reporting user stats to the host.
https://bugs.webkit.org/show_bug.cgi?id=31830
Summary Chromium: Expose method for reporting user stats to the host.
Pavel Feldman
Reported 2009-11-24 06:43:02 PST
We'd like to push some stats from web inspector to the host.
Attachments
[PATCH] (1.07 KB, patch)
2009-11-24 06:44 PST, Pavel Feldman
dglazkov: review+
abarth: commit-queue-
[PATCH] Darin suggests that it is exposed to whole WebKit. (1.40 KB, patch)
2009-11-24 10:38 PST, Pavel Feldman
fishd: review+
pfeldman: commit-queue-
Pavel Feldman
Comment 1 2009-11-24 06:44:54 PST
Created attachment 43766 [details] [PATCH] Note that I should land it after implementation lands in Chromium.
Adam Barth
Comment 2 2009-11-24 07:56:29 PST
Comment on attachment 43766 [details] [PATCH] Marking cq- so we don't accidentally commit this before the downstream change.
Dimitri Glazkov (Google)
Comment 3 2009-11-24 10:12:43 PST
Comment on attachment 43766 [details] [PATCH] ok.
Eric Seidel (no email)
Comment 4 2009-11-24 10:17:11 PST
Comment on attachment 43766 [details] [PATCH] Where is this ever used? Why would we add this virtual function w/o it ever being used anywhere... This change is not required before the downstream one since you can always add a virtual method which is never called. In fact, this change would break the downstream version if checked in, so I'm not sure I understand why this is being added at all w/o ever being used. I guess I don't understand the patch or the r+.
Pavel Feldman
Comment 5 2009-11-24 10:19:14 PST
> I guess I don't understand the patch or the r+. http://codereview.chromium.org/435019/show
Pavel Feldman
Comment 6 2009-11-24 10:38:00 PST
Created attachment 43787 [details] [PATCH] Darin suggests that it is exposed to whole WebKit.
Darin Fisher (:fishd, Google)
Comment 7 2009-11-24 10:41:15 PST
Comment on attachment 43787 [details] [PATCH] Darin suggests that it is exposed to whole WebKit. > + // By default, histogram is exponential, so that min=1, max=1000000, bucketCound=50 would do. Setting nit: s/bucketCound/bucketCount/
Darin Fisher (:fishd, Google)
Comment 8 2009-11-24 10:45:40 PST
if you add a default implementation, then you don't have to worry about a painful two sided landing virtual void histogramCounts(...) { }
Pavel Feldman
Comment 9 2009-11-24 11:39:32 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKit/chromium/ChangeLog M WebKit/chromium/public/WebKitClient.h Committed r51345 Landed with drive-by default implementations for the whole client itself.
Note You need to log in before you can comment on or make changes to this bug.