summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 00:49:31 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 00:49:31 +0000
commit07f65b49bc63751dad9c2676d2feb96bfaa379be (patch)
treed04c7933df2ba73d11e31bdaa167140d3f0b2f65 /chrome
parent4118ab959e390b81735c81e84af7df2173826584 (diff)
downloadchromium_src-07f65b49bc63751dad9c2676d2feb96bfaa379be.zip
chromium_src-07f65b49bc63751dad9c2676d2feb96bfaa379be.tar.gz
chromium_src-07f65b49bc63751dad9c2676d2feb96bfaa379be.tar.bz2
Enable extensions without UI
Review URL: http://codereview.chromium.org/125031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18576 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser_main.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index cfdaa27..af71c74 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -108,6 +108,10 @@
#endif // defined(OS_WIN)
+#if defined(LINUX2)
+#include "chrome/browser/extensions/extension_protocols.h"
+#endif // defined(LINUX2)
+
#if defined(TOOLKIT_GTK)
#include "chrome/common/gtk_util.h"
#endif
@@ -699,7 +703,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
// chrome-extension:// URLs.
RegisterURLRequestChromeJob();
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(LINUX2)
RegisterExtensionProtocols();
#endif