| 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..7a5ab9ca708b13455a9d1f53a2a81f6a8d76bc41
|
| --- /dev/null
|
| +++ b/content/browser/child_process_launcher_elevated_win.h
|
| @@ -0,0 +1,45 @@
|
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// 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_
|
|
|