Skip to content

Commit

Permalink
Ensure that the cloud print proxy process is created with the force_b…
Browse files Browse the repository at this point in the history
…reakaway_from_job_ flag set which ensures

that the process is created on windows with the CREATE_BREAKAWAY_FROM_JOB flag.

BUG=148753
R=abodenha
Review URL: https://codereview.chromium.org/10917247

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156825 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
ananta@chromium.org committed Sep 14, 2012
1 parent f3640a4 commit e99ab7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chrome/service/cloud_print/cloud_print_proxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ void LaunchBrowserProcessWithSwitch(const std::string& switch_string) {
base::LaunchProcess(cmd_line, base::LaunchOptions(), &pid);
base::EnsureProcessGetsReaped(pid);
#else
base::LaunchProcess(cmd_line, base::LaunchOptions(), NULL);
base::LaunchOptions launch_options;
#if defined(OS_WIN)
launch_options.force_breakaway_from_job_ = true;
#endif // OS_WIN
base::LaunchProcess(cmd_line, launch_options, NULL);
#endif
}

Expand Down

0 comments on commit e99ab7d

Please sign in to comment.