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

Side by Side Diff: content/browser/browser_child_process_host_impl.h

Issue 985773002: Introducing phased profiling framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_to_file
Patch Set: Fixing Android compile errors. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 24 matching lines...) Expand all
35 // class. RenderProcessHostImpl is the main exception that doesn't use this 35 // class. RenderProcessHostImpl is the main exception that doesn't use this
36 /// class because it lives on the UI thread. 36 /// class because it lives on the UI thread.
37 class CONTENT_EXPORT BrowserChildProcessHostImpl 37 class CONTENT_EXPORT BrowserChildProcessHostImpl
38 : public BrowserChildProcessHost, 38 : public BrowserChildProcessHost,
39 public NON_EXPORTED_BASE(ChildProcessHostDelegate), 39 public NON_EXPORTED_BASE(ChildProcessHostDelegate),
40 #if defined(OS_WIN) 40 #if defined(OS_WIN)
41 public base::win::ObjectWatcher::Delegate, 41 public base::win::ObjectWatcher::Delegate,
42 #endif 42 #endif
43 public ChildProcessLauncher::Client { 43 public ChildProcessLauncher::Client {
44 public: 44 public:
45 BrowserChildProcessHostImpl( 45 BrowserChildProcessHostImpl(content::ProcessType process_type,
46 int process_type, 46 BrowserChildProcessHostDelegate* delegate);
47 BrowserChildProcessHostDelegate* delegate);
48 ~BrowserChildProcessHostImpl() override; 47 ~BrowserChildProcessHostImpl() override;
49 48
50 // Terminates all child processes and deletes each BrowserChildProcessHost 49 // Terminates all child processes and deletes each BrowserChildProcessHost
51 // instance. 50 // instance.
52 static void TerminateAll(); 51 static void TerminateAll();
53 52
54 // BrowserChildProcessHost implementation: 53 // BrowserChildProcessHost implementation:
55 bool Send(IPC::Message* message) override; 54 bool Send(IPC::Message* message) override;
56 void Launch(SandboxedProcessLauncherDelegate* delegate, 55 void Launch(SandboxedProcessLauncherDelegate* delegate,
57 base::CommandLine* cmd_line, 56 base::CommandLine* cmd_line,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // Watches to see if the child process exits before the IPC channel has 118 // Watches to see if the child process exits before the IPC channel has
120 // been connected. Thereafter, its exit is determined by an error on the 119 // been connected. Thereafter, its exit is determined by an error on the
121 // IPC channel. 120 // IPC channel.
122 base::win::ObjectWatcher early_exit_watcher_; 121 base::win::ObjectWatcher early_exit_watcher_;
123 #endif 122 #endif
124 }; 123 };
125 124
126 } // namespace content 125 } // namespace content
127 126
128 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 127 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698