summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 22:23:43 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 22:23:43 +0000
commit1fca149ca717c64ae05edb534a61a909dc0a6d11 (patch)
tree6972a9efe49eba842a77cdeb98be8ac2caba8d27 /chrome/app/chrome_dll_main.cc
parent20a85780ae0ae9b8467b10146044fec8c1144e77 (diff)
downloadchromium_src-1fca149ca717c64ae05edb534a61a909dc0a6d11.zip
chromium_src-1fca149ca717c64ae05edb534a61a909dc0a6d11.tar.gz
chromium_src-1fca149ca717c64ae05edb534a61a909dc0a6d11.tar.bz2
Introducing the Utility process, which handles the unpacking and verification
of extension packages. This is a first pass. In the second pass, I will add support for transcoding the manifest and any images in the browser process. BUG=11680 Review URL: http://codereview.chromium.org/114027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index be727ef..4a8d514 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -68,6 +68,7 @@ extern int BrowserMain(const MainFunctionParams&);
extern int RendererMain(const MainFunctionParams&);
extern int PluginMain(const MainFunctionParams&);
extern int WorkerMain(const MainFunctionParams&);
+extern int UtilityMain(const MainFunctionParams&);
#if defined(OS_WIN)
// TODO(erikkay): isn't this already defined somewhere?
@@ -444,6 +445,8 @@ int ChromeMain(int argc, const char** argv) {
rv = RendererMain(main_params);
} else if (process_type == switches::kPluginProcess) {
rv = PluginMain(main_params);
+ } else if (process_type == switches::kUtilityProcess) {
+ rv = UtilityMain(main_params);
} else if (process_type == switches::kWorkerProcess) {
#if defined(OS_WIN)
rv = WorkerMain(main_params);