Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 54e6924b1ed98cf0c238f00a87d69a47315a0027..0290fc37edc4beb8a4993c4f3b67071d4342a534 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -2317,7 +2317,7 @@ bool ChromeContentBrowserClient::AllowPepperSocketAPI( |
const GURL& url, |
bool private_api, |
const content::SocketPermissionRequest* params) { |
-#if defined(ENABLE_PLUGINS) |
+#if defined(ENABLE_EXTENSIONS) |
Profile* profile = Profile::FromBrowserContext(browser_context); |
const extensions::ExtensionSet* extension_set = NULL; |
if (profile) { |
@@ -2533,7 +2533,7 @@ ChromeContentBrowserClient::GetDevToolsManagerDelegate() { |
bool ChromeContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
content::BrowserContext* browser_context, |
const GURL& url) { |
-#if defined(ENABLE_PLUGINS) |
+#if defined(ENABLE_EXTENSIONS) |
Profile* profile = Profile::FromBrowserContext(browser_context); |
const extensions::ExtensionSet* extension_set = NULL; |
if (profile) { |
@@ -2555,7 +2555,7 @@ bool ChromeContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
bool ChromeContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( |
content::BrowserContext* browser_context, |
const GURL& url) { |
-#if defined(ENABLE_PLUGINS) |
+#if defined(ENABLE_EXTENSIONS) |
// Allow access for tests. |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnablePepperTesting)) { |