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

Issue 2854005: Enable policy support on the Linux platform. (Closed)

Created:
10 years, 6 months ago by markusheintz
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin, danno
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Enable policy support on the Linux platform. On the Linux platform policies are read from a configuration file directory. Depending whether the chromium build is branded or not the configuration file directory is: /etc/opt/chromium or /etc/opt/chrome The configuration file directory will contain two sub-subdirectories: policies/managed policies/recommended The sub-directory policies/managed will contain all managed policies that are enforced on the user. The sub-directory policies/recommended will contain policies for recommended setting that can be changed by a user. BUG=47278 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50589

Patch Set 1 #

Total comments: 14

Patch Set 2 : Worked on Mattias code-review comments. #

Total comments: 6

Patch Set 3 : Fix lint errors and some other nits. #

Patch Set 4 : Add unittest for chrome_path[.h,.cc] changes #

Total comments: 14

Patch Set 5 : Worked on code review feeback. #

Total comments: 6

Patch Set 6 : Worked on codereview feedback and rm chrome_path_unittest for now. #

Patch Set 7 : Modify gypi file after removing chrome_paths_unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -4 lines) Patch
M chrome/browser/pref_service.cc View 1 2 3 4 5 3 chunks +22 lines, -4 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
markusheintz
@Danno: On more CL :) @Even: I'd like to get your input if this is ...
10 years, 6 months ago (2010-06-16 08:56:46 UTC) #1
Mattias Nissler (ping if slow)
http://codereview.chromium.org/2854005/diff/1/2 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/1/2#newcode109 chrome/browser/pref_service.cc:109: // TODO(markusheintz): Test if the path exists I think ...
10 years, 6 months ago (2010-06-16 09:24:34 UTC) #2
danno
In addition to the stuff Mattias pointed out: * Lint should run through cleanly for ...
10 years, 6 months ago (2010-06-16 10:16:18 UTC) #3
markusheintz
http://codereview.chromium.org/2854005/diff/1/2 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/1/2#newcode109 chrome/browser/pref_service.cc:109: // TODO(markusheintz): Test if the path exists Great! I ...
10 years, 6 months ago (2010-06-16 13:47:07 UTC) #4
danno
lint seems to still be seriously upset, too. http://codereview.chromium.org/2854005/diff/8001/9001 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/8001/9001#newcode103 chrome/browser/pref_service.cc:103: recommended_prefs_provider ...
10 years, 6 months ago (2010-06-16 13:56:35 UTC) #5
markusheintz
http://codereview.chromium.org/2854005/diff/8001/9001 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/8001/9001#newcode103 chrome/browser/pref_service.cc:103: recommended_prefs_provider = new ConfigurationPolicyProviderWin(); On 2010/06/16 13:56:35, danno wrote: ...
10 years, 6 months ago (2010-06-16 14:28:31 UTC) #6
Evan Martin
Chromium should use /etc/chromium, chrome should use /opt/google/chrome/etc or something like that. I think distros ...
10 years, 6 months ago (2010-06-17 14:21:48 UTC) #7
Mattias Nissler (ping if slow)
On Thu, Jun 17, 2010 at 7:21 AM, Evan Martin <evan@chromium.org> wrote: > Chromium should ...
10 years, 6 months ago (2010-06-17 14:45:58 UTC) #8
Evan Martin
http://codereview.chromium.org/2854005/diff/18001/19001 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/18001/19001#newcode112 chrome/browser/pref_service.cc:112: if (success) { Why not collapse these three lines ...
10 years, 6 months ago (2010-06-21 15:38:45 UTC) #9
markusheintz
http://codereview.chromium.org/2854005/diff/18001/19001 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/18001/19001#newcode112 chrome/browser/pref_service.cc:112: if (success) { On 2010/06/21 15:38:45, Evan Martin wrote: ...
10 years, 6 months ago (2010-06-21 19:16:47 UTC) #10
Evan Martin
LGTM with few remaining nits fixed http://codereview.chromium.org/2854005/diff/27001/15004 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/2854005/diff/27001/15004#newcode116 chrome/browser/pref_service.cc:116: // error no ...
10 years, 6 months ago (2010-06-21 19:26:34 UTC) #11
markusheintz
I made a judgement call an removed the chrome_path_unittest.cc because it has some issues that ...
10 years, 6 months ago (2010-06-22 14:33:15 UTC) #12
Evan Martin
10 years, 6 months ago (2010-06-23 02:21:54 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698