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

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 2405013002: Move some global feature defines to buildflags (Closed)
Patch Set: Comment Created 4 years, 2 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
Index: chrome/renderer/plugins/chrome_plugin_placeholder.h
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.h b/chrome/renderer/plugins/chrome_plugin_placeholder.h
index 7acf77a03e036e6a817956d29ad1ecd3f8b24632..a5db7d4083e3d4a496cca7c5738ed77e5f41194b 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/macros.h"
+#include "chrome/common/features.h"
#include "chrome/common/prerender_types.h"
#include "chrome/renderer/plugins/power_saver_info.h"
#include "components/plugins/renderer/loadable_plugin_placeholder.h"
@@ -86,7 +87,7 @@ class ChromePluginPlaceholder final
void ShowPermissionBubbleCallback();
// IPC message handlers:
-#if defined(ENABLE_PLUGIN_INSTALLATION)
+#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
void OnDidNotFindMissingPlugin();
void OnFoundMissingPlugin(const base::string16& plugin_name);
void OnStartedDownloadingPlugin();
@@ -107,7 +108,7 @@ class ChromePluginPlaceholder final
// a separate routing ID for messages specific to this placeholder.
int32_t placeholder_routing_id_ = MSG_ROUTING_NONE;
-#if defined(ENABLE_PLUGIN_INSTALLATION)
+#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
bool has_host_ = false;
#endif
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698