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

Unified Diff: cloud_print/service/win/chrome_launcher.cc

Issue 1595633002: Use valid /prefetch arguments for process launches on Windows. - do not submit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move
Patch Set: format Created 4 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
Index: cloud_print/service/win/chrome_launcher.cc
diff --git a/cloud_print/service/win/chrome_launcher.cc b/cloud_print/service/win/chrome_launcher.cc
index 5c9013aa9a098bf5d73a89cc32e1a15dcff36a53..5595f0060b5d388d81df75ee746f485c8a0bbb29 100644
--- a/cloud_print/service/win/chrome_launcher.cc
+++ b/cloud_print/service/win/chrome_launcher.cc
@@ -20,6 +20,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
+#include "chrome/common/prefetch_argument_win.h"
#include "chrome/installer/launcher_support/chrome_launcher_support.h"
#include "cloud_print/common/win/cloud_print_utils.h"
#include "cloud_print/service/service_constants.h"
@@ -211,6 +212,7 @@ void ChromeLauncher::Run() {
// Required switches.
cmd.AppendSwitchASCII(switches::kProcessType, switches::kServiceProcess);
+ chrome::AddWindowsPrefetchArgument(&cmd);
cmd.AppendSwitchPath(switches::kUserDataDir, user_data_);
cmd.AppendSwitch(switches::kNoServiceAutorun);

Powered by Google App Engine
This is Rietveld 408576698