Index: chrome/common/service_process_util.cc |
diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc |
index 336c01174e59f062a900fe925c59cb98d99a249b..0321747d20ccf62d40fd6afb184d8f044257899d 100644 |
--- a/chrome/common/service_process_util.cc |
+++ b/chrome/common/service_process_util.cc |
@@ -31,6 +31,10 @@ |
#include "google_apis/gaia/gaia_switches.h" |
#include "ui/base/ui_base_switches.h" |
+#if defined(OS_WIN) |
+#include "chrome/common/prefetch_argument_win.h" |
+#endif // defined(OS_WIN) |
+ |
#if !defined(OS_MACOSX) |
namespace { |
@@ -160,6 +164,9 @@ scoped_ptr<base::CommandLine> CreateServiceProcessCommandLine() { |
scoped_ptr<base::CommandLine> command_line(new base::CommandLine(exe_path)); |
command_line->AppendSwitchASCII(switches::kProcessType, |
switches::kServiceProcess); |
+#if defined(OS_WIN) |
+ chrome::AddWindowsPrefetchArgument(command_line.get()); |
+#endif // defined(OS_WIN) |
static const char* const kSwitchesToCopy[] = { |
switches::kCloudPrintSetupProxy, |
switches::kCloudPrintURL, |