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

Issue 323843003: Add a do_not_sync pref to ExtensionPrefs. (Closed)

Created:
6 years, 6 months ago by xiyuan
Modified:
6 years, 6 months ago
CC:
chromium-reviews, tim+watch_chromium.org, vandebo (ex-Chrome), jennb, extensions-reviews_chromium.org, Lei Zhang, haitaol+watch_chromium.org, Dmitry Titov, dcheng, tommycli, jianli, Greg Billock, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Add a do_not_sync pref to ExtensionPrefs. Split from https://codereview.chromium.org/308003005/ for extensions system changes that allows to install a none syncable Extension. - Add a do_not_sync pref to ExtensionPrefs; - Add a kInstallFlagDoNotSync that CrxInstaller uses to initialize the pref; - Update util::ShouldSyncApp and add ShouldSyncExtension to use the pref to skip sync in ExtensionSyncService; BUG=358791 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277269

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : for comments in #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -19 lines) Patch
M chrome/browser/extensions/crx_installer.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 1 2 6 chunks +23 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sync_bundle.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_util.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M chrome/common/extensions/sync_helper.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 chunks +18 lines, -0 lines 0 comments Download
M extensions/browser/install_flag.h View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
xiyuan
6 years, 6 months ago (2014-06-09 21:00:39 UTC) #1
not at google - send to devlin
this is a lot of changes for just threading through a single flag. I'll try ...
6 years, 6 months ago (2014-06-09 22:43:46 UTC) #2
xiyuan
On 2014/06/09 22:43:46, kalman wrote: > this is a lot of changes for just threading ...
6 years, 6 months ago (2014-06-09 22:49:04 UTC) #3
not at google - send to devlin
Sorry it took so long, but the patch to make this a bitmask has been ...
6 years, 6 months ago (2014-06-13 16:28:52 UTC) #4
xiyuan
Rebased. Must simpler now. PTAL. Thanks.
6 years, 6 months ago (2014-06-13 19:49:44 UTC) #5
not at google - send to devlin
lgtm https://codereview.chromium.org/323843003/diff/20001/chrome/browser/extensions/crx_installer.h File chrome/browser/extensions/crx_installer.h (right): https://codereview.chromium.org/323843003/diff/20001/chrome/browser/extensions/crx_installer.h#newcode205 chrome/browser/extensions/crx_installer.h:205: } now that there are 3 of these, ...
6 years, 6 months ago (2014-06-13 20:01:22 UTC) #6
xiyuan
https://codereview.chromium.org/323843003/diff/20001/chrome/browser/extensions/crx_installer.h File chrome/browser/extensions/crx_installer.h (right): https://codereview.chromium.org/323843003/diff/20001/chrome/browser/extensions/crx_installer.h#newcode205 chrome/browser/extensions/crx_installer.h:205: } On 2014/06/13 20:01:22, kalman wrote: > now that ...
6 years, 6 months ago (2014-06-13 20:35:43 UTC) #7
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 6 months ago (2014-06-14 03:31:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/323843003/40001
6 years, 6 months ago (2014-06-14 03:33:31 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-14 20:28:10 UTC) #10
Message was sent while issue was closed.
Change committed as 277269

Powered by Google App Engine
This is Rietveld 408576698