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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 years, 1 month 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
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | chrome/tools/service_discovery_sniffer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_browser_process.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 72409a87fca65add4fcfaba9f60958d13a0bbd89..50d08b809e3cd298366f67fe4e85b56fa42c1826 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -25,6 +25,7 @@
#include "components/subresource_filter/core/browser/ruleset_service.h"
#include "content/public/browser/notification_service.h"
#include "extensions/features/features.h"
+#include "media/media_features.h"
#include "net/url_request/url_request_context_getter.h"
#include "printing/features/features.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -348,7 +349,7 @@ bool TestingBrowserProcess::created_local_state() const {
return (local_state_ != nullptr);
}
-#if defined(ENABLE_WEBRTC)
+#if BUILDFLAG(ENABLE_WEBRTC)
WebRtcLogUploader* TestingBrowserProcess::webrtc_log_uploader() {
return nullptr;
}
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | chrome/tools/service_discovery_sniffer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698