diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 01:25:34 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 01:25:34 +0000 |
commit | a191515a2cdf8ea448eaf450f9e48d62af4e3fd9 (patch) | |
tree | 8ca4ef98439398f5ae54e7c76f51456768d0b799 /content | |
parent | 9d4bb67777aa05f78014dccce1b760b4f47f5db9 (diff) | |
download | chromium_src-a191515a2cdf8ea448eaf450f9e48d62af4e3fd9.zip chromium_src-a191515a2cdf8ea448eaf450f9e48d62af4e3fd9.tar.gz chromium_src-a191515a2cdf8ea448eaf450f9e48d62af4e3fd9.tar.bz2 |
Cleanup: Add a note to BrowserChildProcessHost::Launch().
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10787027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/browser_child_process_host_impl.h | 10 | ||||
-rw-r--r-- | content/public/browser/browser_child_process_host.h | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h index 4e20a0a..3d628f0 100644 --- a/content/browser/browser_child_process_host_impl.h +++ b/content/browser/browser_child_process_host_impl.h @@ -22,10 +22,10 @@ class BrowserChildProcessHostIterator; // Plugins/workers and other child processes that live on the IO thread use this // class. RenderProcessHostImpl is the main exception that doesn't use this /// class because it lives on the UI thread. -class CONTENT_EXPORT BrowserChildProcessHostImpl : - public content::BrowserChildProcessHost, - public NON_EXPORTED_BASE(content::ChildProcessHostDelegate), - public ChildProcessLauncher::Client { +class CONTENT_EXPORT BrowserChildProcessHostImpl + : public content::BrowserChildProcessHost, + public NON_EXPORTED_BASE(content::ChildProcessHostDelegate), + public ChildProcessLauncher::Client { public: BrowserChildProcessHostImpl( content::ProcessType type, @@ -36,7 +36,7 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl : // instance. static void TerminateAll(); - // BrowserChildProcessHostImpl implementation: + // BrowserChildProcessHost implementation: virtual bool Send(IPC::Message* message) OVERRIDE; virtual void Launch( #if defined(OS_WIN) diff --git a/content/public/browser/browser_child_process_host.h b/content/public/browser/browser_child_process_host.h index a3e412b..1756f91 100644 --- a/content/public/browser/browser_child_process_host.h +++ b/content/public/browser/browser_child_process_host.h @@ -33,6 +33,7 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { virtual ~BrowserChildProcessHost() {} // Derived classes call this to launch the child process asynchronously. + // Takes ownership of |cmd_line|. virtual void Launch( #if defined(OS_WIN) const FilePath& exposed_dir, |