| Index: chrome/common/extensions/sync_helper.cc
|
| diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc
|
| index 93d8ce4c48b603821d283bfd1f01f1b21d946df5..c38fdbc7ba97bed4bb19d7dc1fac06672d0087c3 100644
|
| --- a/chrome/common/extensions/sync_helper.cc
|
| +++ b/chrome/common/extensions/sync_helper.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/common/extensions/manifest_url_handler.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/manifest.h"
|
| +#include "extensions/common/permissions/permissions_data.h"
|
|
|
| namespace extensions {
|
| namespace sync_helper {
|
| @@ -42,7 +43,7 @@ SyncType GetSyncType(const Extension* extension) {
|
| // TODO(akalin): Relax this restriction once we've put in UI to
|
| // approve synced extensions.
|
| if (PluginInfo::HasPlugins(extension) ||
|
| - extension->HasAPIPermission(APIPermission::kPlugin)) {
|
| + extension->permissions_data()->HasAPIPermission(APIPermission::kPlugin)) {
|
| return SYNC_TYPE_NONE;
|
| }
|
|
|
|
|