Index: chrome/browser/browsing_data/browsing_data_remover.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc |
index 806c873df368c201dc6eb8667279856c78f70635..aa079bed836955fb529b7c928a283252d3b62260 100644 |
--- a/chrome/browser/browsing_data/browsing_data_remover.cc |
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc |
@@ -80,6 +80,7 @@ |
#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/user_metrics.h" |
#include "extensions/features/features.h" |
+#include "media/media_features.h" |
#include "net/base/net_errors.h" |
#include "net/cookies/cookie_store.h" |
#include "net/http/http_network_session.h" |
@@ -125,7 +126,7 @@ |
#include "components/user_manager/user.h" |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
#include "chrome/browser/media/webrtc/webrtc_log_list.h" |
#include "chrome/browser/media/webrtc/webrtc_log_util.h" |
#endif |
@@ -666,7 +667,7 @@ void BrowsingDataRemover::RemoveImpl( |
data_manager->Refresh(); |
} |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
waiting_for_clear_webrtc_logs_ = true; |
BrowserThread::PostTaskAndReply( |
BrowserThread::FILE, FROM_HERE, |
@@ -1285,7 +1286,7 @@ bool BrowsingDataRemover::AllDone() { |
!waiting_for_clear_precache_history_ && |
!waiting_for_clear_offline_page_data_ && |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
!waiting_for_clear_webrtc_logs_ && |
#endif |
!waiting_for_clear_storage_partition_data_ && |
@@ -1526,7 +1527,7 @@ void BrowsingDataRemover::OnClearedStoragePartitionData() { |
NotifyIfDone(); |
} |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
void BrowsingDataRemover::OnClearedWebRtcLogs() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
waiting_for_clear_webrtc_logs_ = false; |