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

Unified Diff: content/common/pepper_file_util.h

Issue 525513003: Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months 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 | « content/common/BUILD.gn ('k') | content/common/pepper_plugin_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/pepper_file_util.h
diff --git a/content/common/pepper_file_util.h b/content/common/pepper_file_util.h
index 7812b71c7209c467e5c359ba937307f351749d2d..b1899a5d2c69e9c274b18219c8cf19d13711d338 100644
--- a/content/common/pepper_file_util.h
+++ b/content/common/pepper_file_util.h
@@ -8,6 +8,10 @@
#include "ppapi/c/pp_file_info.h"
#include "webkit/common/fileapi/file_system_types.h"
+#if !defined(ENABLE_PLUGINS)
+#error "Plugins should be enabled"
+#endif
+
namespace content {
storage::FileSystemType PepperFileSystemTypeToFileSystemType(
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/pepper_plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698