diff options
-rw-r--r-- | chrome/browser/sync/glue/extension_change_processor.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/sync/glue/extension_change_processor.cc b/chrome/browser/sync/glue/extension_change_processor.cc index 36a7dc1..31501e8 100644 --- a/chrome/browser/sync/glue/extension_change_processor.cc +++ b/chrome/browser/sync/glue/extension_change_processor.cc @@ -52,6 +52,9 @@ void ExtensionChangeProcessor::Observe(NotificationType type, DCHECK_EQ(Source<Profile>(source).ptr(), profile_); Extension* extension = Details<Extension>(details).ptr(); CHECK(extension); + if (!IsExtensionSyncable(*extension)) { + return; + } const std::string& id = extension->id(); LOG(INFO) << "Got change notification of type " << type.value << " for extension " << id; @@ -67,8 +70,6 @@ void ExtensionChangeProcessor::Observe(NotificationType type, << type.value; break; } - - return; } void ExtensionChangeProcessor::ApplyChangesFromSyncModel( |