Chromium Code Reviews| Index: content/browser/child_process_launcher_elevated_win.h |
| diff --git a/content/browser/child_process_launcher_elevated_win.h b/content/browser/child_process_launcher_elevated_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..68e561c94a57c8aee533a1ffa14810370dbf2d89 |
| --- /dev/null |
| +++ b/content/browser/child_process_launcher_elevated_win.h |
| @@ -0,0 +1,45 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
|
mef
2014/01/10 18:22:55
nit: Copyright 2014
Drew Haven
2014/01/16 02:52:05
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_ELEVATED_H_ |
| +#define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_ELEVATED_H_ |
| + |
| +#include "content/browser/child_process_launcher.h" |
| + |
| +class CommandLine; |
| + |
| +namespace content { |
| +class SandboxedProcessLauncherDelegate; |
| + |
| +// Asynchronously launches an elevated process. |
| +class CONTENT_EXPORT ChildProcessLauncherElevated |
| + : public ChildProcessLauncher { |
| + public: |
| + ChildProcessLauncherElevated( |
| + CommandLine* cmd_line, |
| + int child_process_id, |
| + Client* client); |
| + |
| + ~ChildProcessLauncherElevated(); |
| + |
| + // ChildProcessLauncher Implementation: |
| + virtual bool IsStarting() OVERRIDE; |
| + virtual base::ProcessHandle GetHandle() OVERRIDE; |
| + virtual base::TerminationStatus GetChildTerminationStatus( |
| + bool known_dead, |
| + int* exit_code) OVERRIDE; |
| + virtual void SetProcessBackgrounded(bool background) OVERRIDE; |
| + virtual void SetTerminateChildOnShutdown(bool terminate_on_shutdown) OVERRIDE; |
| + |
| + private: |
| + class Context; |
| + |
| + scoped_refptr<Context> context_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncherElevated); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_ELEVATED_H_ |