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

Issue 1976163004: [Offline Pages] Adds Rappor metrics measuring what domains are saved & viewed. (Closed)

Created:
4 years, 7 months ago by dewittj
Modified:
4 years, 7 months ago
Reviewers:
fgorski
CC:
chromium-reviews, droger+watchlist_chromium.org, romax+watch_chromium.org, fgorski+watch_chromium.org, sdefresne+watchlist_chromium.org, petewil+watch_chromium.org, dewittj+watch_chromium.org, asvitkine+watch_chromium.org, blundell+watchlist_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@no-store
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Adds Rappor metrics measuring what domains are saved & viewed. This information will be used to seed test datasets as we try to improve the offline pages storage format. LOW_FREQUENCY metrics are used because we expect to initially serve a small population. Once broad release is achieved, this could be switched to normal-noise metrics. BUG=610877

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Updated naming. #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -4 lines) Patch
M chrome/browser/android/offline_pages/offline_page_model_factory.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/android/offline_pages/test_offline_page_model_builder.cc View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M components/offline_pages/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/offline_page_model.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M components/offline_pages/offline_page_model.cc View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M components/offline_pages/offline_page_model_unittest.cc View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 1 chunk +18 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (6 generated)
dewittj
fgorski: PTAL, let me know what you think of this idea.
4 years, 7 months ago (2016-05-13 17:34:13 UTC) #7
fgorski
4 years, 7 months ago (2016-05-13 17:49:18 UTC) #8
Idea is great :)

Did you document it in the UMA doc?

https://codereview.chromium.org/1976163004/diff/20001/chrome/browser/android/...
File chrome/browser/android/offline_pages/test_offline_page_model_builder.cc
(right):

https://codereview.chromium.org/1976163004/diff/20001/chrome/browser/android/...
chrome/browser/android/offline_pages/test_offline_page_model_builder.cc:19:
class RapporService;
this is a .cc file. Why do you forward declare this thing?

https://codereview.chromium.org/1976163004/diff/20001/components/offline_page...
File components/offline_pages/offline_page_model.cc (right):

https://codereview.chromium.org/1976163004/diff/20001/components/offline_page...
components/offline_pages/offline_page_model.cc:14: #include
"base/memory/weak_ptr.h"
this is already in .h file.

https://codereview.chromium.org/1976163004/diff/20001/tools/metrics/rappor/ra...
File tools/metrics/rappor/rappor.xml (right):

https://codereview.chromium.org/1976163004/diff/20001/tools/metrics/rappor/ra...
tools/metrics/rappor/rappor.xml:1021: <rappor-metric
name="OfflinePages.ViewedPage"
could this name say that that we are viewing offline page?

Powered by Google App Engine
This is Rietveld 408576698