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

Unified Diff: chrome/common/extensions/sync_helper.cc

Issue 1835863002: Added check for behavior feature existense (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/sync_helper.cc
diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc
index 1219073330969ca44992c268680f19db97540e7e..6131b3dcf39b5ab875325865a220335f6e3a3ed3 100644
--- a/chrome/common/extensions/sync_helper.cc
+++ b/chrome/common/extensions/sync_helper.cc
@@ -19,9 +19,8 @@ namespace extensions {
namespace sync_helper {
bool IsSyncable(const Extension* extension) {
- if (FeatureProvider::GetBehaviorFeature(BehaviorFeature::kDoNotSync)
- ->IsAvailableToExtension(extension)
- .is_available()) {
+ if (FeatureProvider::BehaviorFeatureIsAvailable(BehaviorFeature::kDoNotSync,
+ extension)) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698