Index: chrome/renderer/chrome_content_renderer_client.h |
diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h |
index 872e2e2deb35bd3095e07b63db789750d40c5eef..11cf0dc568f9159c9dbda6d595b9950ca88cef4e 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.h |
+++ b/chrome/renderer/chrome_content_renderer_client.h |
@@ -5,13 +5,10 @@ |
#ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
#define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
+#include <set> |
#include <string> |
#include <vector> |
-#if defined(ENABLE_PLUGINS) |
-#include <set> |
-#endif |
- |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
@@ -162,6 +159,9 @@ class ChromeContentRendererClient : public content::ContentRendererClient { |
const blink::WebPluginParams& params, |
const ChromeViewHostMsg_GetPluginInfo_Output& output); |
+ static bool IsExtensionOrSharedModuleWhitelisted( |
+ const GURL& url, const std::set<std::string>& whitelist); |
+ |
// TODO(mpcomplete): remove after we collect histogram data. |
// http://crbug.com/100411 |
static bool IsAdblockInstalled(); |