Properly disable accelerated compositing for extension background pages. Since these
[chromium-blink-merge.git] / chrome_frame / update_launcher.h
blob2b23d2da7bb2f269cc22b60875c4d99987c2b9cc
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_FRAME_UPDATE_LAUNCHER_H_
6 #define CHROME_FRAME_UPDATE_LAUNCHER_H_
8 #include <string>
10 typedef unsigned long DWORD; // NOLINT
12 namespace update_launcher {
14 // If the command line asks us to run a command via the ProcessLauncher, returns
15 // the command ID. Otherwise, returns an empty string.
16 std::wstring GetUpdateCommandFromArguments(const wchar_t* command_line);
18 // Launches the specified command via the ProcessLauncher, waits for the process
19 // to exit, and returns the exit code for chrome_launcher (normally the launched
20 // command's exit code, or 0xFF in case of failure to launch).
21 DWORD LaunchUpdateCommand(const std::wstring& command);
23 } // namespace process_launcher
25 #endif // CHROME_FRAME_UPDATE_LAUNCHER_H_