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

Issue 233423002: Don't upload extension IDs in the cloud policy protocol. (Closed)

Created:
6 years, 8 months ago by Joao da Silva
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Don't upload extension IDs in the cloud policy protocol. The cloud policy protocol can also be used to fetch policy for extensions; this change makes an update to the protocol such that extension IDs are never uploaded to the server. Note that this feature is still disabled by default behind the --enable-component-cloud-policy flag. BUG=361156 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266857

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix chromeos clang build #

Total comments: 14

Patch Set 4 : addressed comments #

Patch Set 5 : send a PolicyFetchRequest for extensions #

Total comments: 7

Patch Set 6 : addressed comments #

Total comments: 4

Patch Set 7 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -88 lines) Patch
M chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc View 1 2 3 4 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/policy/test/policy_testserver.py View 1 2 3 4 5 6 12 chunks +60 lines, -19 lines 0 comments Download
M components/policy/core/common/cloud/component_cloud_policy_service.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/cloud/component_cloud_policy_service.cc View 1 2 3 4 5 6 chunks +18 lines, -48 lines 0 comments Download
M components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc View 1 2 3 4 2 chunks +2 lines, -6 lines 0 comments Download
M components/policy/core/common/cloud/resource_cache.cc View 1 2 3 8 chunks +13 lines, -11 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Joao da Silva
PTAL, thanks!
6 years, 8 months ago (2014-04-24 12:02:43 UTC) #1
Mattias Nissler (ping if slow)
Code looks good, so I'll just nitpick a bit on the test server changes :) ...
6 years, 8 months ago (2014-04-24 12:20:35 UTC) #2
Joao da Silva
Thanks for the quick review :-) PTAL https://codereview.chromium.org/233423002/diff/40001/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc File chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc (right): https://codereview.chromium.org/233423002/diff/40001/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc#newcode91 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc:91: bool Base64Encode(const ...
6 years, 8 months ago (2014-04-24 13:22:23 UTC) #3
Mattias Nissler (ping if slow)
Feel free to catch me on chat if you want to discuss more. https://codereview.chromium.org/233423002/diff/40001/chrome/browser/policy/test/policy_testserver.py File ...
6 years, 8 months ago (2014-04-24 13:38:24 UTC) #4
Joao da Silva
This has been updated after the discussions from today. I've verified it works with the ...
6 years, 8 months ago (2014-04-24 18:45:20 UTC) #5
Mattias Nissler (ping if slow)
https://codereview.chromium.org/233423002/diff/80001/chrome/browser/policy/test/policy_testserver.py File chrome/browser/policy/test/policy_testserver.py (right): https://codereview.chromium.org/233423002/diff/80001/chrome/browser/policy/test/policy_testserver.py#newcode450 chrome/browser/policy/test/policy_testserver.py:450: if (request.policy_type not in The logic here is rather ...
6 years, 8 months ago (2014-04-25 11:51:46 UTC) #6
Joao da Silva
Ready for another look. PTAL, thanks! https://codereview.chromium.org/233423002/diff/80001/chrome/browser/policy/test/policy_testserver.py File chrome/browser/policy/test/policy_testserver.py (right): https://codereview.chromium.org/233423002/diff/80001/chrome/browser/policy/test/policy_testserver.py#newcode450 chrome/browser/policy/test/policy_testserver.py:450: if (request.policy_type not ...
6 years, 7 months ago (2014-04-28 11:56:11 UTC) #7
Mattias Nissler (ping if slow)
LGTM https://codereview.chromium.org/233423002/diff/100001/chrome/browser/policy/test/policy_testserver.py File chrome/browser/policy/test/policy_testserver.py (right): https://codereview.chromium.org/233423002/diff/100001/chrome/browser/policy/test/policy_testserver.py#newcode639 chrome/browser/policy/test/policy_testserver.py:639: request: the PolicyFetchRequest that triggered this handler. nit: ...
6 years, 7 months ago (2014-04-28 12:02:47 UTC) #8
Joao da Silva
Thanks for reviewing! https://codereview.chromium.org/233423002/diff/100001/chrome/browser/policy/test/policy_testserver.py File chrome/browser/policy/test/policy_testserver.py (right): https://codereview.chromium.org/233423002/diff/100001/chrome/browser/policy/test/policy_testserver.py#newcode639 chrome/browser/policy/test/policy_testserver.py:639: request: the PolicyFetchRequest that triggered this ...
6 years, 7 months ago (2014-04-28 12:20:10 UTC) #9
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 7 months ago (2014-04-28 12:20:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/233423002/120001
6 years, 7 months ago (2014-04-28 12:21:21 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:10:22 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:10:23 UTC) #13
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 7 months ago (2014-04-28 16:13:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/233423002/120001
6 years, 7 months ago (2014-04-28 16:14:04 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:39:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:39:24 UTC) #17
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 7 months ago (2014-04-28 17:00:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/233423002/120001
6 years, 7 months ago (2014-04-28 17:01:11 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:02:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 17:02:18 UTC) #21
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 7 months ago (2014-04-28 17:05:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/233423002/120001
6 years, 7 months ago (2014-04-28 17:06:36 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:07:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 17:07:41 UTC) #25
Joao da Silva
The CQ bit was checked by joaodasilva@chromium.org
6 years, 7 months ago (2014-04-29 09:52:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/233423002/120001
6 years, 7 months ago (2014-04-29 09:53:45 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 12:01:43 UTC) #28
Message was sent while issue was closed.
Change committed as 266857

Powered by Google App Engine
This is Rietveld 408576698