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

Issue 1136543003: Extensions: Store disable reasons in Sync (Closed)

Created:
5 years, 7 months ago by Marc Treib
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, albertb+watch_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extensions: Store disable reasons in Sync This will allow us (in a follow-up CL) to *not* grant permissions to extensions that come in via Sync disabled due to a permission increase. BUG=484214 Committed: https://crrev.com/c11923254ee7e930b2cd3431d94a6937982906f9 Cr-Commit-Position: refs/heads/master@{#330727}

Patch Set 1 #

Patch Set 2 : fix sync_integration_tests #

Patch Set 3 : fix browser_tests #

Patch Set 4 : fix test #

Patch Set 5 : add test #

Total comments: 23

Patch Set 6 : review #

Total comments: 6

Patch Set 7 : review2 #

Total comments: 2

Patch Set 8 : pavely review #

Patch Set 9 : fix memleak in test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -89 lines) Patch
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/app_sync_data.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_sync_data_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +107 lines, -5 lines 1 comment Download
M chrome/browser/extensions/extension_sync_data.h View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sync_data.cc View 4 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 3 4 5 6 3 chunks +16 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_extension_helper.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_extension_helper.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -16 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_apps_sync_test.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 4 5 20 chunks +28 lines, -25 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 4 5 25 chunks +32 lines, -24 lines 0 comments Download
M sync/protocol/extension_specifics.proto View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (7 generated)
Marc Treib
PTAL! Lots of touched files, but interesting changes really only in extension_service.cc (+ _unittest) and ...
5 years, 7 months ago (2015-05-11 17:51:32 UTC) #2
not at google - send to devlin
Sorry took so long, didn't get to it yesterday. I think basically lg but needs ...
5 years, 7 months ago (2015-05-12 18:04:17 UTC) #3
Marc Treib
https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.cc#newcode543 chrome/browser/extensions/extension_service.cc:543: // If the extension came in disabled due to ...
5 years, 7 months ago (2015-05-19 12:12:03 UTC) #4
not at google - send to devlin
lgtm https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.h#newcode285 chrome/browser/extensions/extension_service.h:285: // Note that |disable_reasons| may be a bitmask ...
5 years, 7 months ago (2015-05-19 14:32:11 UTC) #5
Marc Treib
https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/1136543003/diff/80001/chrome/browser/extensions/extension_service.h#newcode285 chrome/browser/extensions/extension_service.h:285: // Note that |disable_reasons| may be a bitmask of ...
5 years, 7 months ago (2015-05-19 15:30:56 UTC) #6
Marc Treib
+pavely for changes in c/b/sync/ and sync/. PTAL!
5 years, 7 months ago (2015-05-19 15:32:47 UTC) #8
pavely
lgtm % small change. https://codereview.chromium.org/1136543003/diff/120001/chrome/browser/sync/test/integration/sync_extension_helper.cc File chrome/browser/sync/test/integration/sync_extension_helper.cc (right): https://codereview.chromium.org/1136543003/diff/120001/chrome/browser/sync/test/integration/sync_extension_helper.cc#newcode234 chrome/browser/sync/test/integration/sync_extension_helper.cc:234: std::list<std::string>::const_iterator id; Please remove ...::const_iterator ...
5 years, 7 months ago (2015-05-19 17:32:57 UTC) #9
Marc Treib
https://codereview.chromium.org/1136543003/diff/120001/chrome/browser/sync/test/integration/sync_extension_helper.cc File chrome/browser/sync/test/integration/sync_extension_helper.cc (right): https://codereview.chromium.org/1136543003/diff/120001/chrome/browser/sync/test/integration/sync_extension_helper.cc#newcode234 chrome/browser/sync/test/integration/sync_extension_helper.cc:234: std::list<std::string>::const_iterator id; On 2015/05/19 17:32:57, pavely wrote: > Please ...
5 years, 7 months ago (2015-05-20 09:06:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136543003/140001
5 years, 7 months ago (2015-05-20 09:07:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/9148)
5 years, 7 months ago (2015-05-20 10:48:15 UTC) #15
Marc Treib
https://codereview.chromium.org/1136543003/diff/160001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/1136543003/diff/160001/chrome/browser/extensions/extension_service_unittest.cc#newcode6561 chrome/browser/extensions/extension_service_unittest.cc:6561: prefs->GetGrantedPermissions(good_crx)); Ben, do you know a reason why ExtensionPrefs::GetGrantedPermissions ...
5 years, 7 months ago (2015-05-20 12:05:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136543003/160001
5 years, 7 months ago (2015-05-20 12:06:37 UTC) #19
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-20 12:56:15 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 12:56:59 UTC) #21
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c11923254ee7e930b2cd3431d94a6937982906f9
Cr-Commit-Position: refs/heads/master@{#330727}

Powered by Google App Engine
This is Rietveld 408576698