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

Issue 2111653002: [Offline Pages] Adding metadatas for namespace async_loading. (Closed)

Created:
4 years, 5 months ago by romax
Modified:
4 years, 5 months ago
Reviewers:
Steven Holte, fgorski
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, asvitkine+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

[Offline Pages] Adding metadatas for namespace async_loading. Added namespace, histogram suffix and client policy for async_loading. Also fixed a crash when adding suffixes for expiring histograms. BUG=623736 Committed: https://crrev.com/14c0911f78eaf6c704b65ed46b300ed52f0f1626 Cr-Commit-Position: refs/heads/master@{#405401}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Making async namespace persistent. #

Total comments: 1

Patch Set 3 : Fixing tests. #

Patch Set 4 : Fixing tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -18 lines) Patch
M components/offline_pages/client_namespace_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/client_namespace_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/client_policy_controller.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/offline_pages/client_policy_controller_unittest.cc View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M components/offline_pages/offline_page_model_impl.cc View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M components/offline_pages/offline_page_storage_manager.cc View 1 3 chunks +5 lines, -1 line 0 comments Download
M components/offline_pages/offline_page_storage_manager_unittest.cc View 1 2 chunks +13 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
romax
PTAL, I need suggestion for policy numbers for async_loading...
4 years, 5 months ago (2016-06-29 21:20:35 UTC) #2
fgorski
https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc File components/offline_pages/client_policy_controller.cc (right): https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc#newcode28 components/offline_pages/client_policy_controller.cc:28: kAsyncNamespace, MakePolicy(kAsyncNamespace, LifetimeType::TEMPORARY, They should be LifetimeType::PERSISTENT. https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc#newcode29 components/offline_pages/client_policy_controller.cc:29: ...
4 years, 5 months ago (2016-07-01 19:26:09 UTC) #3
romax
https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc File components/offline_pages/client_policy_controller.cc (right): https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc#newcode28 components/offline_pages/client_policy_controller.cc:28: kAsyncNamespace, MakePolicy(kAsyncNamespace, LifetimeType::TEMPORARY, On 2016/07/01 19:26:09, fgorski wrote: > ...
4 years, 5 months ago (2016-07-06 22:03:28 UTC) #4
fgorski
https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc File components/offline_pages/client_policy_controller.cc (right): https://codereview.chromium.org/2111653002/diff/1/components/offline_pages/client_policy_controller.cc#newcode28 components/offline_pages/client_policy_controller.cc:28: kAsyncNamespace, MakePolicy(kAsyncNamespace, LifetimeType::TEMPORARY, On 2016/07/06 22:03:28, romax wrote: > ...
4 years, 5 months ago (2016-07-07 17:01:45 UTC) #5
romax
some changes in *impl.cc was not correct...please ignore.
4 years, 5 months ago (2016-07-09 01:04:32 UTC) #7
fgorski
lgtm, but please run and fix the test. https://codereview.chromium.org/2111653002/diff/40001/components/offline_pages/client_policy_controller_unittest.cc File components/offline_pages/client_policy_controller_unittest.cc (right): https://codereview.chromium.org/2111653002/diff/40001/components/offline_pages/client_policy_controller_unittest.cc#newcode69 components/offline_pages/client_policy_controller_unittest.cc:69: EXPECT_TRUE(isTemporary(policy)); ...
4 years, 5 months ago (2016-07-12 22:19:49 UTC) #8
romax
Addressed comments. holte@ PTAL on histograms.xml (one line change) Thanks!
4 years, 5 months ago (2016-07-13 18:06:10 UTC) #10
Steven Holte
lgtm
4 years, 5 months ago (2016-07-13 20:14:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111653002/60001
4 years, 5 months ago (2016-07-13 20:59:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111653002/80001
4 years, 5 months ago (2016-07-13 23:54:41 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 5 months ago (2016-07-14 02:01:20 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 02:04:13 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/14c0911f78eaf6c704b65ed46b300ed52f0f1626
Cr-Commit-Position: refs/heads/master@{#405401}

Powered by Google App Engine
This is Rietveld 408576698