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

Unified Diff: chrome_frame/update_launcher.h

Issue 6355011: When changing Ready Mode state from within an IE process, use chrome_launcher... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/ready_mode/internal/registry_ready_mode_state.cc ('k') | chrome_frame/update_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/update_launcher.h
===================================================================
--- chrome_frame/update_launcher.h (revision 0)
+++ chrome_frame/update_launcher.h (revision 0)
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 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 CHROME_FRAME_UPDATE_LAUNCHER_H_
+#define CHROME_FRAME_UPDATE_LAUNCHER_H_
+#pragma once
+
+#include <string>
+
+typedef unsigned long DWORD; // NOLINT
+
+namespace update_launcher {
+
+// If the command line asks us to run a command via the ProcessLauncher, returns
+// the command ID. Otherwise, returns an empty string.
+std::wstring GetUpdateCommandFromArguments(const wchar_t* command_line);
+
+// Launches the specified command via the ProcessLauncher, waits for the process
+// to exit, and returns the exit code for chrome_launcher (normally the launched
+// command's exit code, or 0xFF in case of failure to launch).
+DWORD LaunchUpdateCommand(const std::wstring& command);
+
+} // namespace process_launcher
+
+#endif // CHROME_FRAME_UPDATE_LAUNCHER_H_
Property changes on: chrome_frame\update_launcher.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome_frame/ready_mode/internal/registry_ready_mode_state.cc ('k') | chrome_frame/update_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698