]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/windows/include/cef_process_util.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / windows / include / cef_process_util.h
similarity index 72%
rename from dependencies64/cef/include/cef_url.h
rename to dependencies64/cef/windows/include/cef_process_util.h
index a3863a44b27b725597b113afc70d9c34b6729730..4fce778e7e8f561a4afd023e5350ccd074d2ff54 100644 (file)
 // tools directory for more information.
 //
 
-#ifndef CEF_INCLUDE_CEF_URL_H_
-#define CEF_INCLUDE_CEF_URL_H_
+#ifndef CEF_INCLUDE_CEF_PROCESS_UTIL_H_
+#define CEF_INCLUDE_CEF_PROCESS_UTIL_H_
 #pragma once
 
 #include "include/cef_base.h"
+#include "include/cef_command_line.h"
 
 ///
-// Parse the specified |url| into its component parts.
-// Returns false if the URL is empty or invalid.
-///
-/*--cef()--*/
-bool CefParseURL(const CefString& url,
-                 CefURLParts& parts);
-
-///
-// Creates a URL from the specified |parts|, which must contain a non-empty
-// spec or a non-empty host and path (at a minimum), but not both.
-// Returns false if |parts| isn't initialized as described.
-///
-/*--cef()--*/
-bool CefCreateURL(const CefURLParts& parts,
-                  CefString& url);
-
-///
-// Returns the mime type for the specified file extension or an empty string if
-// unknown.
+// Launches the process specified via |command_line|. Returns true upon
+// success. Must be called on the browser process TID_PROCESS_LAUNCHER thread.
+//
+// Unix-specific notes:
+// - All file descriptors open in the parent process will be closed in the
+//   child process except for stdin, stdout, and stderr.
+// - If the first argument on the command line does not contain a slash,
+//   PATH will be searched. (See man execvp.)
 ///
 /*--cef()--*/
-CefString CefGetMimeType(const CefString& extension);
+bool CefLaunchProcess(CefRefPtr<CefCommandLine> command_line);
 
-#endif  // CEF_INCLUDE_CEF_URL_H_
+#endif  // CEF_INCLUDE_CEF_PROCESS_UTIL_H_