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

Issue 309553011: Enable policy support for registering protocol handler. (Closed)

Created:
6 years, 6 months ago by kaliamoorthi
Modified:
6 years, 6 months ago
CC:
chromium-reviews, joaodasilva+watch_chromium.org, asvitkine+watch_chromium.org, jar+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@Issue_116119_pre
Visibility:
Public.

Description

Enable policy support for registering protocol handler. The CL adds a new policy for registering protocol handlers. BUG=116119 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277475

Patch Set 1 #

Total comments: 34

Patch Set 2 : Fixes comments from Bartosz #

Patch Set 3 : After rebase #

Total comments: 22

Patch Set 4 : Fixes nits #

Total comments: 34

Patch Set 5 : Fixes nits #

Patch Set 6 : Adds IDS_POLICY_LEVEL_ERROR grit_whitelist.txt to fix build error for ios #

Total comments: 1

Patch Set 7 : Rebase and fixes nits #

Total comments: 5

Patch Set 8 : Updates policy_templates as per the comments from Daniel #

Patch Set 9 : Fix for the windows compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -7 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.cc View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler_unittest.cc View 1 2 3 4 3 chunks +141 lines, -6 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 8 2 chunks +37 lines, -1 line 0 comments Download
M components/policy_strings.grdp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
kaliamoorthi
PTAL
6 years, 6 months ago (2014-06-02 13:23:24 UTC) #1
bartfab (slow)
https://codereview.chromium.org/309553011/diff/1/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/309553011/diff/1/chrome/test/data/policy/policy_test_cases.json#newcode1576 chrome/test/data/policy/policy_test_cases.json:1576: "check_for_mandatory" : false 1: Can this policy only be ...
6 years, 6 months ago (2014-06-03 11:58:20 UTC) #2
kaliamoorthi
PTAL. https://codereview.chromium.org/309553011/diff/1/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/309553011/diff/1/chrome/test/data/policy/policy_test_cases.json#newcode1576 chrome/test/data/policy/policy_test_cases.json:1576: "check_for_mandatory" : false On 2014/06/03 11:58:21, bartfab wrote: ...
6 years, 6 months ago (2014-06-04 18:01:57 UTC) #3
bartfab (slow)
https://codereview.chromium.org/309553011/diff/50001/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/309553011/diff/50001/chrome/test/data/policy/policy_test_cases.json#newcode1581 chrome/test/data/policy/policy_test_cases.json:1581: "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://test.com/%s", "default": "true"} ...
6 years, 6 months ago (2014-06-06 12:01:58 UTC) #4
kaliamoorthi
PTAL https://codereview.chromium.org/309553011/diff/50001/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/309553011/diff/50001/chrome/test/data/policy/policy_test_cases.json#newcode1581 chrome/test/data/policy/policy_test_cases.json:1581: "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://test.com/%s", "default": ...
6 years, 6 months ago (2014-06-10 17:14:27 UTC) #5
bartfab (slow)
As discussed offline, please file bugs to keep track of the following features that will ...
6 years, 6 months ago (2014-06-11 10:08:45 UTC) #6
Andrew T Wilson (Slow)
deferring to Bartosz for the rest of the review, but LGTM from my part. https://codereview.chromium.org/309553011/diff/70001/components/policy/core/browser/configuration_policy_handler.h ...
6 years, 6 months ago (2014-06-11 12:32:55 UTC) #7
kaliamoorthi
PTAL https://codereview.chromium.org/309553011/diff/70001/chrome/browser/policy/configuration_policy_handler_list_factory.cc File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): https://codereview.chromium.org/309553011/diff/70001/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode533 chrome/browser/policy/configuration_policy_handler_list_factory.cc:533: #if !defined(OS_IOS) && !defined(OS_ANDROID) On 2014/06/11 10:08:44, bartfab ...
6 years, 6 months ago (2014-06-13 13:22:28 UTC) #8
bartfab (slow)
lgtm https://codereview.chromium.org/309553011/diff/120001/components/policy/core/browser/configuration_policy_handler.h File components/policy/core/browser/configuration_policy_handler.h (right): https://codereview.chromium.org/309553011/diff/120001/components/policy/core/browser/configuration_policy_handler.h#newcode279 components/policy/core/browser/configuration_policy_handler.h:279: // |allow_recommended| and |allow_mandatory| flags indicate the levels ...
6 years, 6 months ago (2014-06-16 11:23:42 UTC) #9
kaliamoorthi
Hi Daniel, Can you give me a owner LGTM?
6 years, 6 months ago (2014-06-16 11:59:26 UTC) #10
dconnelly
policy_templates.json LGTM after making corrections. https://codereview.chromium.org/309553011/diff/140001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/309553011/diff/140001/components/policy/resources/policy_templates.json#newcode2699 components/policy/resources/policy_templates.json:2699: 'example_value': [{'protocol': 'mailto', 'url': ...
6 years, 6 months ago (2014-06-16 12:34:53 UTC) #11
kaliamoorthi
The CQ bit was checked by kaliamoorthi@chromium.org
6 years, 6 months ago (2014-06-16 12:55:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/309553011/160001
6 years, 6 months ago (2014-06-16 12:56:09 UTC) #13
Alexei Svitkine (slow)
histograms lgtm
6 years, 6 months ago (2014-06-16 14:39:52 UTC) #14
kaliamoorthi
The CQ bit was checked by kaliamoorthi@chromium.org
6 years, 6 months ago (2014-06-16 14:55:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/309553011/180001
6 years, 6 months ago (2014-06-16 14:56:19 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 17:24:17 UTC) #17
Message was sent while issue was closed.
Change committed as 277475

Powered by Google App Engine
This is Rietveld 408576698