Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1759)

Unified Diff: content/public/app/content_main_delegate.h

Issue 9190018: Support sharing of ContentMain and BrowserMain code with embedded use cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698