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

Unified Diff: components/autofill/content/browser/risk/fingerprint.cc

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge 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 | « components/autofill/content/browser/BUILD.gn ('k') | components/content_settings/core/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/risk/fingerprint.cc
diff --git a/components/autofill/content/browser/risk/fingerprint.cc b/components/autofill/content/browser/risk/fingerprint.cc
index acac2f15ad8d2ddd1412132a9e9806033e73dd93..5700fcd6a76094fb5ef1fed5f92728c37510bd65 100644
--- a/components/autofill/content/browser/risk/fingerprint.cc
+++ b/components/autofill/content/browser/risk/fingerprint.cc
@@ -41,6 +41,7 @@
#include "device/geolocation/geolocation_provider.h"
#include "device/geolocation/geoposition.h"
#include "gpu/config/gpu_info.h"
+#include "ppapi/features/features.h"
#include "third_party/WebKit/public/platform/WebRect.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
@@ -293,7 +294,7 @@ FingerprintDataLoader::FingerprintDataLoader(
gpu_data_manager_->RequestCompleteGpuInfoIfNeeded();
}
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
// Load plugin data.
content::PluginService::GetInstance()->GetPlugins(
base::Bind(&FingerprintDataLoader::OnGotPlugins,
« no previous file with comments | « components/autofill/content/browser/BUILD.gn ('k') | components/content_settings/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698