Index: chrome/install_static/install_util.h |
diff --git a/chrome/install_static/install_util.h b/chrome/install_static/install_util.h |
index 3d57b238787130366ee15c3181fcb6b2018f8f07..102378fd18366384be0014d03a0b1831671a2e43 100644 |
--- a/chrome/install_static/install_util.h |
+++ b/chrome/install_static/install_util.h |
@@ -58,6 +58,8 @@ extern const char kGpuProcess[]; |
extern const char kPpapiPluginProcess[]; |
extern const char kRendererProcess[]; |
extern const char kUtilityProcess[]; |
+extern const char kProcessType[]; |
+extern const char kCrashpadHandler[]; |
// Returns true if |exe_path| points to a Chrome installed in an SxS |
// installation. |
@@ -203,6 +205,12 @@ bool CompareVersionStrings(const std::string& version1, |
const std::string& version2, |
int* result); |
+// We assume that the command line |command_line| contains multiple switches |
+// with the format --<switch name>=<switch value>. This function returns the |
+// value of the |switch_name| passed in. |
+std::string GetSwitchValueFromCommandLine(const std::string& command_line, |
+ const std::string& switch_name); |
+ |
// Caches the |ProcessType| of the current process. |
extern ProcessType g_process_type; |