summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-09-04 14:17:50 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-04 21:23:10 +0000
commitc4cac8f477f9c5317ff604b375175f07235b07b4 (patch)
tree02ac3d1e7a79bebc7d5c44c7c01fb9ee1f839b7d /content/browser/plugin_service_impl.h
parentc60975f9cc0a4a40bd8365cf7d322926c12b2361 (diff)
downloadchromium_src-c4cac8f477f9c5317ff604b375175f07235b07b4.zip
chromium_src-c4cac8f477f9c5317ff604b375175f07235b07b4.tar.gz
chromium_src-c4cac8f477f9c5317ff604b375175f07235b07b4.tar.bz2
Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef.
Review URL: https://codereview.chromium.org/525513003 Cr-Commit-Position: refs/heads/master@{#293338}
Diffstat (limited to 'content/browser/plugin_service_impl.h')
-rw-r--r--content/browser/plugin_service_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/plugin_service_impl.h b/content/browser/plugin_service_impl.h
index 861889c..8cb176a 100644
--- a/content/browser/plugin_service_impl.h
+++ b/content/browser/plugin_service_impl.h
@@ -8,6 +8,10 @@
#ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
#define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
+#if !defined(ENABLE_PLUGINS)
+#error "Plugins should be enabled"
+#endif
+
#include <map>
#include <set>
#include <vector>