Chromium Code Reviews| Index: content/public/app/content_main_delegate.h |
| =================================================================== |
| --- content/public/app/content_main_delegate.h (revision 117304) |
| +++ content/public/app/content_main_delegate.h (working copy) |
| @@ -34,8 +34,14 @@ |
| // has been initialized. |
| virtual void SandboxInitialized(const std::string& process_type) = 0; |
| + // Gives the embedder an opportinity to override a known process. Return -1 to |
|
jam
2012/01/12 18:07:18
these two functions are the same. why not just mak
|
| + // use the default process runner. |
| + virtual int RunKnownProcess( |
| + const std::string& process_type, |
| + const content::MainFunctionParams& main_function_params) = 0; |
| + |
| // Asks the embedder to start a process that content doesn't know about. |
| - virtual int RunProcess( |
| + virtual int RunUnknownProcess( |
| const std::string& process_type, |
| const content::MainFunctionParams& main_function_params) = 0; |