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

Issue 2022283003: Record offline histograms with suffix via Histogram::FactoryGet (Closed)

Created:
4 years, 6 months ago by jianli
Modified:
4 years, 6 months ago
Reviewers:
dimich, dewittj, mmenke, fgorski
CC:
chromium-reviews, cbentzel+watch_chromium.org, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record offline histograms with suffix via Histogram::FactoryGet Also move all offline client namespace constants into one central place. BUG=616231 TBR=mmenke@chromium.org Committed: https://crrev.com/8ccbcdc96179ab65038e17cdbddc149e28754830 Cr-Commit-Position: refs/heads/master@{#397233} Committed: https://crrev.com/37ab199f7ba4c272d620813c458bc8f524c2c3ba Cr-Commit-Position: refs/heads/master@{#397623}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Change to use Histogram::FactoryGet #

Total comments: 8

Patch Set 3 : Address more feedback #

Total comments: 6

Patch Set 4 : Rebase #

Patch Set 5 : Address some more feedback #

Total comments: 6

Patch Set 6 : Trivial change to offline_page_model.cc to allow easy merge to M52 #

Patch Set 7 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -81 lines) Patch
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/net_error_tab_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A components/offline_pages/client_namespace_constants.h View 1 chunk +22 lines, -0 lines 0 comments Download
A components/offline_pages/client_namespace_constants.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M components/offline_pages/client_policy_controller.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/offline_pages/client_policy_controller.cc View 1 chunk +1 line, -8 lines 0 comments Download
M components/offline_pages/client_policy_controller_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M components/offline_pages/offline_page_model.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M components/offline_pages/offline_page_model.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/offline_pages/offline_page_model_impl.cc View 1 2 3 4 5 6 5 chunks +112 lines, -63 lines 0 comments Download
M components/offline_pages/offline_page_storage_manager_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 53 (27 generated)
jianli
4 years, 6 months ago (2016-05-31 21:33:08 UTC) #3
jianli
4 years, 6 months ago (2016-05-31 21:40:57 UTC) #5
Dmitry Titov
Drive-by: The repetitive code with histogram macros look scary :) Since those macros are perf ...
4 years, 6 months ago (2016-05-31 21:46:18 UTC) #6
chili
https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc#newcode17 components/offline_pages/client_policy_controller_unittest.cc:17: const char kUndefinedNamespace[] = "undefined"; should we also move ...
4 years, 6 months ago (2016-05-31 21:51:33 UTC) #8
dewittj
On 2016/05/31 21:46:18, Dmitry Titov wrote: > Drive-by: > > The repetitive code with histogram ...
4 years, 6 months ago (2016-05-31 22:11:19 UTC) #9
jianli
On 2016/05/31 21:46:18, Dmitry Titov wrote: > Drive-by: > > The repetitive code with histogram ...
4 years, 6 months ago (2016-05-31 22:27:49 UTC) #13
dewittj
https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc#newcode17 components/offline_pages/client_policy_controller_unittest.cc:17: const char kUndefinedNamespace[] = "undefined"; On 2016/05/31 21:51:33, chili ...
4 years, 6 months ago (2016-05-31 22:38:45 UTC) #15
dewittj
https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc#newcode17 components/offline_pages/client_policy_controller_unittest.cc:17: const char kUndefinedNamespace[] = "undefined"; On 2016/05/31 22:38:45, dewittj ...
4 years, 6 months ago (2016-05-31 23:12:02 UTC) #16
jianli
https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc#newcode17 components/offline_pages/client_policy_controller_unittest.cc:17: const char kUndefinedNamespace[] = "undefined"; On 2016/05/31 23:12:01, dewittj ...
4 years, 6 months ago (2016-05-31 23:50:08 UTC) #17
dewittj
lgtm some comments about the metrics follow, not necessarily blocking though. https://codereview.chromium.org/2022283003/diff/1/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): ...
4 years, 6 months ago (2016-06-01 00:04:13 UTC) #18
jianli
https://codereview.chromium.org/2022283003/diff/40001/components/offline_pages/offline_page_model.cc File components/offline_pages/offline_page_model.cc (right): https://codereview.chromium.org/2022283003/diff/40001/components/offline_pages/offline_page_model.cc#newcode145 components/offline_pages/offline_page_model.cc:145: base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromSeconds(1), 50, On 2016/06/01 00:04:13, dewittj wrote: > ...
4 years, 6 months ago (2016-06-01 00:16:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022283003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022283003/80001
4 years, 6 months ago (2016-06-01 19:07:45 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-01 20:38:39 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/8ccbcdc96179ab65038e17cdbddc149e28754830 Cr-Commit-Position: refs/heads/master@{#397233}
4 years, 6 months ago (2016-06-01 20:40:47 UTC) #28
fgorski
https://codereview.chromium.org/2022283003/diff/80001/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2022283003/diff/80001/components/offline_pages/offline_page_model_impl.cc#newcode145 components/offline_pages/offline_page_model_impl.cc:145: 1, please add a comment to explain the value. ...
4 years, 6 months ago (2016-06-01 21:33:57 UTC) #30
mmenke
"TBR" stands for "To Be Reviewed"...while in practice, TBRed issues often aren't signed off on ...
4 years, 6 months ago (2016-06-01 21:38:23 UTC) #31
mmenke
On 2016/06/01 21:38:23, mmenke wrote: > "TBR" stands for "To Be Reviewed"...while in practice, TBRed ...
4 years, 6 months ago (2016-06-01 21:38:57 UTC) #32
jianli
https://codereview.chromium.org/2022283003/diff/80001/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2022283003/diff/80001/components/offline_pages/offline_page_model_impl.cc#newcode145 components/offline_pages/offline_page_model_impl.cc:145: 1, On 2016/06/01 21:33:56, fgorski wrote: > please add ...
4 years, 6 months ago (2016-06-01 22:37:23 UTC) #33
jianli
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2028383002/ by jianli@chromium.org. ...
4 years, 6 months ago (2016-06-01 23:26:25 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022283003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022283003/100001
4 years, 6 months ago (2016-06-01 23:38:05 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239423)
4 years, 6 months ago (2016-06-02 02:24:23 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022283003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022283003/100001
4 years, 6 months ago (2016-06-02 20:04:56 UTC) #42
commit-bot: I haz the power
Failed to apply patch for components/offline_pages/offline_page_model.h: While running git apply --index -3 -p1; error: patch ...
4 years, 6 months ago (2016-06-02 22:36:09 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022283003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022283003/140001
4 years, 6 months ago (2016-06-02 22:49:11 UTC) #49
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 6 months ago (2016-06-03 04:10:13 UTC) #51
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 04:11:18 UTC) #53
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/37ab199f7ba4c272d620813c458bc8f524c2c3ba
Cr-Commit-Position: refs/heads/master@{#397623}

Powered by Google App Engine
This is Rietveld 408576698