| Index: chrome/browser/autocomplete/shortcuts_extensions_manager.cc
|
| diff --git a/chrome/browser/autocomplete/shortcuts_extensions_manager.cc b/chrome/browser/autocomplete/shortcuts_extensions_manager.cc
|
| index aebc8d77d10e6a25af063d6ea97c908487aab218..a623a1ff4db9e9d7ab330adf34c1844230878762 100644
|
| --- a/chrome/browser/autocomplete/shortcuts_extensions_manager.cc
|
| +++ b/chrome/browser/autocomplete/shortcuts_extensions_manager.cc
|
| @@ -10,8 +10,9 @@
|
| #include "components/omnibox/browser/shortcuts_backend.h"
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| +#include "extensions/features/features.h"
|
|
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| #include "extensions/browser/notification_types.h"
|
| #include "extensions/common/extension.h"
|
| #endif
|
| @@ -19,7 +20,7 @@
|
| ShortcutsExtensionsManager::ShortcutsExtensionsManager(Profile* profile)
|
| : profile_(profile) {
|
| DCHECK(profile_);
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| notification_registrar_.Add(
|
| this, extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile_));
|
| @@ -32,7 +33,7 @@ void ShortcutsExtensionsManager::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, type);
|
| scoped_refptr<ShortcutsBackend> shortcuts_backend =
|
| ShortcutsBackendFactory::GetForProfileIfExists(profile_);
|
|
|