Index: chrome/service/service_utility_process_host.cc |
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc |
index 859e7259f2e404d2ed596e64a3d395da6837762b..f53116941cd5e5b0381f8b47b7b0d4a823dccbb3 100644 |
--- a/chrome/service/service_utility_process_host.cc |
+++ b/chrome/service/service_utility_process_host.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -17,6 +17,10 @@ |
#include "printing/native_metafile.h" |
#include "printing/page_range.h" |
+#if defined(OS_WIN) |
+#include "base/win/scoped_handle.h" |
+#endif |
+ |
ServiceUtilityProcessHost::ServiceUtilityProcessHost( |
Client* client, base::MessageLoopProxy* client_message_loop_proxy) |
: ServiceChildProcessHost(ChildProcessInfo::UTILITY_PROCESS), |
@@ -50,7 +54,7 @@ bool ServiceUtilityProcessHost::StartRenderPDFPagesToMetafile( |
if (!StartProcess(false, scratch_metafile_dir_->path())) |
return false; |
- ScopedHandle pdf_file( |
+ base::win::ScopedHandle pdf_file( |
::CreateFile(pdf_path.value().c_str(), |
GENERIC_READ, |
FILE_SHARE_READ | FILE_SHARE_WRITE, |