Fix syncing of NPAPI plugins.

This fix adds a check for |plugin| permission
while syncing NPAPI plugins.

BUG=252034

Review URL: https://chromiumcodereview.appspot.com/16816024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207830 0039d316-1c4b-4281-b951-d872f2087c98
bool IsSyncable(const Extension* extension) {

  bool is_syncable = (extension->location() == Manifest::INTERNAL &&
                      !extension->was_installed_by_default());
  is_syncable |= (extension->id() == extension_misc::kWebStoreAppId);
  return is_syncable;
}

bool IsSyncable(const Extension* extension) {

  bool is_syncable = (extension->location() == Manifest::INTERNAL &&
                      !extension->was_installed_by_default());
  is_syncable |= (extension->id() == extension_misc::kWebStoreAppId);
  return is_syncable;
}
