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

Issue 1019283005: Cleanup the ConfigurationPolicyHandler interface. (Closed)

Created:
5 years, 9 months ago by pneubeck (no reviews)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup the ConfigurationPolicyHandler interface. After https://codereview.chromium.org/197013007 ConfigurationPolicyHandler provided a default implementation of ApplyPolicySettings() that simply called NOTREACHED. Also it wasn't clear anymore what of ConfigurationPolicyHandler is the public interface and what is default implementation. Both issues are resolved with this change. Committed: https://crrev.com/353879e53d35d8ea96bf29483eb7994fb44e7cf3 Cr-Commit-Position: refs/heads/master@{#322381}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix if condition. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M chrome/browser/download/download_dir_policy_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/download/download_dir_policy_handler.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.h View 2 chunks +16 lines, -7 lines 0 comments Download
M components/policy/core/browser/configuration_policy_handler.cc View 1 3 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
pneubeck (no reviews)
ptal
5 years, 9 months ago (2015-03-25 15:49:51 UTC) #2
Mattias Nissler (ping if slow)
LGTM I'd still prefer if we didn't have two functions, but just one, but that's ...
5 years, 9 months ago (2015-03-26 11:13:59 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/1019283005/diff/1/components/policy/core/browser/configuration_policy_handler.cc File components/policy/core/browser/configuration_policy_handler.cc (right): https://codereview.chromium.org/1019283005/diff/1/components/policy/core/browser/configuration_policy_handler.cc#newcode477 components/policy/core/browser/configuration_policy_handler.cc:477: if (!(*handler)->CheckPolicySettings(policies, &scoped_errors)) { On 2015/03/26 11:13:59, Mattias Nissler ...
5 years, 9 months ago (2015-03-26 14:53:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1019283005/20001
5 years, 9 months ago (2015-03-26 14:54:06 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-26 14:57:25 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 14:58:08 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/353879e53d35d8ea96bf29483eb7994fb44e7cf3
Cr-Commit-Position: refs/heads/master@{#322381}

Powered by Google App Engine
This is Rietveld 408576698