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

Unified Diff: content/common/plugin_list.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/pepper_renderer_instance_data.h ('k') | content/common/utility_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/plugin_list.h
diff --git a/content/common/plugin_list.h b/content/common/plugin_list.h
index 2f775d20b4cd98623dbe584c81c564330d0ba1cc..9ad67fc863484f18b403d41f9390c340bd339b17 100644
--- a/content/common/plugin_list.h
+++ b/content/common/plugin_list.h
@@ -14,12 +14,14 @@
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
-#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_vector.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
#include "content/public/common/webplugininfo.h"
+#if !defined(ENABLE_PLUGINS)
+#error "Plugins should be enabled"
+#endif
+
class GURL;
namespace content {
« no previous file with comments | « content/common/pepper_renderer_instance_data.h ('k') | content/common/utility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698