Index: chrome/renderer/pepper/pepper_uma_host.cc |
diff --git a/chrome/renderer/pepper/pepper_uma_host.cc b/chrome/renderer/pepper/pepper_uma_host.cc |
index 9e32d61dc9fc6a55b9289551295bf08ddf2c2549..dc580e3ecd0010ed5c860e2e51cce8184243bcb1 100644 |
--- a/chrome/renderer/pepper/pepper_uma_host.cc |
+++ b/chrome/renderer/pepper/pepper_uma_host.cc |
@@ -13,8 +13,6 @@ |
#include "content/public/renderer/pepper_plugin_instance.h" |
#include "content/public/renderer/render_thread.h" |
#include "content/public/renderer/renderer_ppapi_host.h" |
-#include "extensions/common/constants.h" |
-#include "extensions/common/extension.h" |
#include "ppapi/c/pp_errors.h" |
#include "ppapi/host/dispatch_host_message.h" |
#include "ppapi/host/host_message_context.h" |
@@ -23,6 +21,11 @@ |
#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
+#if defined(ENABLE_EXTENSIONS) |
+#include "extensions/common/constants.h" |
+#include "extensions/common/extension.h" |
+#endif // defined(ENABLE_EXTENSIONS) |
+ |
namespace { |
const char* const kPredefinedAllowedUMAOrigins[] = { |