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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_extensions.h

Issue 2479593006: Move enable extensions define to a build flag. (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
Index: chrome/browser/geolocation/geolocation_permission_context_extensions.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context_extensions.h b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
index df042b8e721efdb63b05aef9c5f79dba87990a6a..bdefb9503fab1016d30c0b2f40493e6bdb57a7bf 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_extensions.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
@@ -8,6 +8,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
#include "components/content_settings/core/common/content_settings.h"
+#include "extensions/features/features.h"
namespace content {
class WebContents;
@@ -40,7 +41,7 @@ class GeolocationPermissionContextExtensions {
int bridge_id);
private:
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
Profile* profile_;
#endif
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/geolocation/geolocation_permission_context_extensions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698