From 4883a4e4209bab557f4ba40a002936acf755205f Mon Sep 17 00:00:00 2001 From: "dkegel@google.com" Date: Sat, 6 Jun 2009 19:59:36 +0000 Subject: Prototype implementation of zygotes. Limitations that need addressing still: - Doesn't forcibly terminate children that should have exited but haven't Enable with env var ENABLE_ZYGOTE_MANAGER=1. BUG=11841 TEST= start the browser, then make chrome and all .pak files unreadable; or alternately, start an installed browser, and uninstall the browser while it's running. Then create a new tab and browse to two new sites. Here's an example script to hide and unhide the .pak files (note: do not move the directory they're in, that doesn't work): #!/bin/sh chmod_all() { chmod $1 sconsbuild/Debug/chrome for path in . locales obj/chrome/app/intermediate/repack obj/global_intermediate/* themes do chmod $1 sconsbuild/Debug/$path/*.pak done } case $1 in hide) chmod_all 000 ;; show) chmod_all 755 ;; esac Review URL: http://codereview.chromium.org/115773 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17840 0039d316-1c4b-4281-b951-d872f2087c98 --- base/command_line.h | 1 + 1 file changed, 1 insertion(+) (limited to 'base/command_line.h') diff --git a/base/command_line.h b/base/command_line.h index 8271206..c895b81 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -50,6 +50,7 @@ class CommandLine { // directly) because we don't trust the CRT's parsing of the command // line, but it still must be called to set up the command line. static void Init(int argc, const char* const* argv); + static void Init(const std::vector& argv); // Destroys the current process CommandLine singleton. This is necessary if // you want to reset the base library to its initial state (for example in an -- cgit v1.1