WebProcessHelperMac.cpp 464 B

1234567891011121314
  1. // Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
  2. // reserved. Use of this source code is governed by a BSD-style license that can
  3. // be found in the LICENSE file.
  4. #include "include/cef_app.h"
  5. // Entry point function for sub-processes.
  6. int main(int argc, char* argv[]) {
  7. // Provide CEF with command-line arguments.
  8. CefMainArgs main_args(argc, argv);
  9. // Execute the sub-process.
  10. return CefExecuteProcess(main_args, NULL, NULL);
  11. }