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

Issue 19462006: Implement fetching, caching and retrieval of external policy data (Closed)

Created:
7 years, 5 months ago by bartfab (slow)
Modified:
7 years, 4 months ago
Reviewers:
Joao da Silva
CC:
chromium-reviews, joaodasilva+watch_chromium.org
Visibility:
Public.

Description

Implement fetching, caching and retrieval of external policy data This CL adds CloudExternalDataManagerBase, a fully functional implementation of the ExternalDataManager interface that allows external data referenced by policies to be fetched, verified, cached and retrieved. The CL also extends policy_templates.json to allow policies referencing external data to be specified. There is no code in Chrome that instantiates CloudExternalDataManagerBase yet. Follow-up CLs will create CloudExternalDataManagerBase instances for desktop users, Chrome OS users and Chrome OS device-local accounts. BUG=256635 TEST=New unit test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215888

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments addressed. #

Patch Set 3 : Document the unit of max_size. #

Patch Set 4 : Exclude more files not needed on Android. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1363 lines, -25 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/app/policy/syntax_check_policy_template_json.py View 1 8 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_external_data_manager.h View 2 chunks +40 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_external_data_manager.cc View 2 chunks +21 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/cloud_external_data_manager_base.h View 1 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/cloud_external_data_manager_base.cc View 1 1 chunk +423 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/cloud_external_data_manager_base_unittest.cc View 1 1 chunk +701 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_store.h View 1 2 3 4 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_store.cc View 1 2 3 4 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_store_base.cc View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/policy/external_data_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/external_data_manager.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/tools/build/generate_policy_source.py View 1 2 3 4 10 chunks +34 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bartfab (slow)
Hi Joao, Could you take a look please?
7 years, 5 months ago (2013-07-18 17:16:12 UTC) #1
Joao da Silva
lgtm. We may revisit some of this code & the policy-for-components code later, since there's ...
7 years, 5 months ago (2013-07-19 11:15:15 UTC) #2
bartfab (slow)
I addressed your comments and also made sure to exclude the test on Android. https://chromiumcodereview.appspot.com/19462006/diff/1/chrome/app/policy/syntax_check_policy_template_json.py ...
7 years, 5 months ago (2013-07-19 13:06:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/19462006/27001
7 years, 4 months ago (2013-08-06 11:29:42 UTC) #4
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 14:00:11 UTC) #5
Message was sent while issue was closed.
Change committed as 215888

Powered by Google App Engine
This is Rietveld 408576698