Index: chrome/common/extensions/sync_helper.cc |
diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc |
index 3cffcca357f1813b17dbe5756784133c71933d9b..c839adc4e31ed1ed859849bbf9689b0b95b37cbb 100644 |
--- a/chrome/common/extensions/sync_helper.cc |
+++ b/chrome/common/extensions/sync_helper.cc |
@@ -41,8 +41,10 @@ SyncType GetSyncType(const Extension* extension) { |
// |
// TODO(akalin): Relax this restriction once we've put in UI to |
// approve synced extensions. |
- if (PluginInfo::HasPlugins(extension)) |
+ if (PluginInfo::HasPlugins(extension) || |
+ extension->HasAPIPermission(APIPermission::kPlugin)) { |
return SYNC_TYPE_NONE; |
+ } |
switch (extension->GetType()) { |
case Manifest::TYPE_EXTENSION: |