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

Issue 2364253002: [Offline Pages] Adds new policy bits and reverse lookup. (Closed)

Created:
4 years, 3 months ago by dewittj
Modified:
4 years, 2 months ago
Reviewers:
Dmitry Titov, chili
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Adds new policy bits and reverse lookup. This is part of the query API project to support looking up offline pages by feature (which may contain multiple policies). Also removes the namespace check found in OfflinePageUtils. BUG=622763 Committed: https://crrev.com/7be8aa05df5cdfc13cb1b68dbbd9710080ff2059 Cr-Commit-Position: refs/heads/master@{#423912}

Patch Set 1 #

Patch Set 2 : Add a test. #

Patch Set 3 : Whitespace. #

Patch Set 4 : Comments. #

Patch Set 5 : Construction order. #

Total comments: 14

Patch Set 6 : Make const by marking caches mutable. #

Patch Set 7 : Rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -18 lines) Patch
M chrome/browser/android/offline_pages/offline_page_utils.cc View 1 2 3 4 5 6 3 chunks +18 lines, -7 lines 0 comments Download
M components/offline_pages/client_policy_controller.h View 1 2 3 4 5 6 2 chunks +19 lines, -0 lines 0 comments Download
M components/offline_pages/client_policy_controller.cc View 1 2 3 4 5 6 3 chunks +59 lines, -3 lines 0 comments Download
M components/offline_pages/client_policy_controller_unittest.cc View 1 2 3 4 5 6 9 chunks +56 lines, -7 lines 0 comments Download
M components/offline_pages/offline_page_client_policy.h View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 32 (20 generated)
dewittj
chili@ - PTAL dimich@ FYI, do you like the naming of the new policy bits?
4 years, 3 months ago (2016-09-23 23:45:22 UTC) #12
chili
lgtm with minor comments Thanks for doing this! https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h File components/offline_pages/client_policy_controller.h (right): https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h#newcode43 components/offline_pages/client_policy_controller.h:43: const ...
4 years, 3 months ago (2016-09-23 23:52:44 UTC) #15
dewittj
https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h File components/offline_pages/client_policy_controller.h (right): https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h#newcode43 components/offline_pages/client_policy_controller.h:43: const std::vector<std::string>& GetNamespacesWithDownloadSupport(); On 2016/09/23 23:52:43, chili wrote: > ...
4 years, 3 months ago (2016-09-23 23:55:55 UTC) #16
dewittj
On 2016/09/23 23:55:55, dewittj wrote: > https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h > File components/offline_pages/client_policy_controller.h (right): > > https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h#newcode43 > ...
4 years, 3 months ago (2016-09-23 23:59:40 UTC) #17
chili
still lgtm https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h File components/offline_pages/client_policy_controller.h (right): https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.h#newcode43 components/offline_pages/client_policy_controller.h:43: const std::vector<std::string>& GetNamespacesWithDownloadSupport(); On 2016/09/23 23:55:55, dewittj ...
4 years, 3 months ago (2016-09-24 00:00:20 UTC) #18
dewittj
When I thought about it, the caches should be invisible to the outside so it's ...
4 years, 3 months ago (2016-09-24 00:07:50 UTC) #19
Dmitry Titov
https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.cc File components/offline_pages/client_policy_controller.cc (right): https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.cc#newcode29 components/offline_pages/client_policy_controller.cc:29: .SetIsSupportedByRecentTabs(true) This set of bits looks conflicting? If we ...
4 years, 3 months ago (2016-09-24 00:09:29 UTC) #20
dewittj
dimich: ptal, thanks! https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.cc File components/offline_pages/client_policy_controller.cc (right): https://codereview.chromium.org/2364253002/diff/80001/components/offline_pages/client_policy_controller.cc#newcode29 components/offline_pages/client_policy_controller.cc:29: .SetIsSupportedByRecentTabs(true) On 2016/09/24 00:09:29, Dmitry Titov ...
4 years, 2 months ago (2016-09-26 23:00:31 UTC) #21
dewittj
ping
4 years, 2 months ago (2016-09-28 03:34:45 UTC) #26
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/2364253002/120001
4 years, 2 months ago (2016-10-07 17:22:29 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-07 18:20:17 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 18:22:16 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7be8aa05df5cdfc13cb1b68dbbd9710080ff2059
Cr-Commit-Position: refs/heads/master@{#423912}

Powered by Google App Engine
This is Rietveld 408576698