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

Issue 12221065: Disable normal default extensions in case of managed users (Closed)

Created:
7 years, 10 months ago by Dmitry Polukhin
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, Gaurav
Visibility:
Public.

Description

Disable normal default extensions in case of managed users Added managed users only default extensions (will be used to push policy locally) We need such changes on Chrome OS because it is the only way to apply whitelist but it looks like similar code makes sense for all other platforms too. BUG=171922 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182444

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed nits #

Total comments: 2

Patch Set 3 : Removed unintended changes #

Total comments: 2

Patch Set 4 : changed if strcture for readability #

Patch Set 5 : Enable default extensions in ManagedUserService::UserMayLoad #

Patch Set 6 : fixed compilation when ENABLE_MANAGED_USERS is not defined #

Patch Set 7 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -54 lines) Patch
M chrome/browser/extensions/external_provider_impl.cc View 1 2 3 4 5 6 2 chunks +73 lines, -54 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_service.cc View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Dmitry Polukhin
Bernhard, please take a look. I would like to check with you about general approach ...
7 years, 10 months ago (2013-02-07 12:39:26 UTC) #1
Dmitry Polukhin
Bernhard, friendly ping, could you please take a look to this CL?
7 years, 10 months ago (2013-02-08 12:48:29 UTC) #2
Bernhard Bauer
LGTM w/ nits: https://codereview.chromium.org/12221065/diff/1/chrome/browser/extensions/external_provider_impl.cc File chrome/browser/extensions/external_provider_impl.cc (right): https://codereview.chromium.org/12221065/diff/1/chrome/browser/extensions/external_provider_impl.cc#newcode44 chrome/browser/extensions/external_provider_impl.cc:44: #if defined(ENABLE_MANAGED_USERS) Nit: Could you move ...
7 years, 10 months ago (2013-02-08 13:38:18 UTC) #3
Dmitry Polukhin
+thakis@ for OWNER review in chrome/common/* +asargent@ for OWNER review in chrome/browser/extensions/* https://codereview.chromium.org/12221065/diff/1/chrome/browser/extensions/external_provider_impl.cc File chrome/browser/extensions/external_provider_impl.cc ...
7 years, 10 months ago (2013-02-11 07:55:22 UTC) #4
Nico
https://codereview.chromium.org/12221065/diff/5/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): https://codereview.chromium.org/12221065/diff/5/chrome/common/chrome_paths.cc#newcode507 chrome/common/chrome_paths.cc:507: cur.Append(FILE_PATH_LITERAL("default_apps")); Huh? Why this change? This is a bug, ...
7 years, 10 months ago (2013-02-11 15:47:06 UTC) #5
Dmitry Polukhin
https://codereview.chromium.org/12221065/diff/5/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): https://codereview.chromium.org/12221065/diff/5/chrome/common/chrome_paths.cc#newcode507 chrome/common/chrome_paths.cc:507: cur.Append(FILE_PATH_LITERAL("default_apps")); On 2013/02/11 15:47:06, Nico wrote: > Huh? Why ...
7 years, 10 months ago (2013-02-11 17:43:52 UTC) #6
Nico
chrome/common lgtm
7 years, 10 months ago (2013-02-11 17:45:19 UTC) #7
asargent_no_longer_on_chrome
extensions part LGTM +cc grv just as FYI, since he did some work on this ...
7 years, 10 months ago (2013-02-11 18:53:24 UTC) #8
Gaurav
LGTM https://codereview.chromium.org/12221065/diff/8002/chrome/browser/extensions/external_provider_impl.cc File chrome/browser/extensions/external_provider_impl.cc (right): https://codereview.chromium.org/12221065/diff/8002/chrome/browser/extensions/external_provider_impl.cc#newcode383 chrome/browser/extensions/external_provider_impl.cc:383: if (!is_chromeos_demo_session && !is_managed_profile) { lines 383-470 can ...
7 years, 10 months ago (2013-02-11 19:06:14 UTC) #9
Dmitry Polukhin
Bernhard, please take a look to new changes added in chrome/browser/managed_mode/managed_user_service.cc to make this CL ...
7 years, 10 months ago (2013-02-13 14:41:02 UTC) #10
Bernhard Bauer
chrome/browser/managed_mode LGTM.
7 years, 10 months ago (2013-02-13 14:49:56 UTC) #11
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 08:43:05 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698