| Index: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
|
| diff --git a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
|
| index d8db4afd66a536ffed386a3ab31f62e738139198..661a83d41931a3874755920bdb728490084de14f 100644
|
| --- a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
|
| +++ b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sessions/session_tab_helper.h"
|
| +#include "chrome/common/features.h"
|
| #include "components/sessions/content/content_serialized_navigation_builder.h"
|
| #include "components/sync_sessions/sync_sessions_client.h"
|
| #include "components/sync_sessions/synced_window_delegate.h"
|
| @@ -21,7 +22,7 @@
|
| #include "extensions/common/extension.h"
|
| #endif
|
|
|
| -#if defined(ENABLE_SUPERVISED_USERS)
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| #include "chrome/browser/supervised_user/supervised_user_navigation_observer.h"
|
| #endif
|
|
|
| @@ -115,7 +116,7 @@ bool TabContentsSyncedTabDelegate::ProfileIsSupervised() const {
|
|
|
| const std::vector<std::unique_ptr<const sessions::SerializedNavigationEntry>>*
|
| TabContentsSyncedTabDelegate::GetBlockedNavigations() const {
|
| -#if defined(ENABLE_SUPERVISED_USERS)
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| SupervisedUserNavigationObserver* navigation_observer =
|
| SupervisedUserNavigationObserver::FromWebContents(web_contents_);
|
| DCHECK(navigation_observer);
|
|
|