Index: chrome/browser/importer/ie_importer.cc |
diff --git a/chrome/browser/importer/ie_importer.cc b/chrome/browser/importer/ie_importer.cc |
index 35f4ad4e2c8feee3435bd7eccbde8ceee5d1a7fe..b26c306c4da2bab56968f72c8242e2df7455c247 100644 |
--- a/chrome/browser/importer/ie_importer.cc |
+++ b/chrome/browser/importer/ie_importer.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. |
@@ -27,6 +27,7 @@ |
#include "base/values.h" |
#include "base/utf_string_conversions.h" |
#include "base/win/registry.h" |
+#include "base/win/scoped_handle.h" |
#include "base/win/windows_version.h" |
#include "chrome/browser/bookmarks/bookmark_model.h" |
#include "chrome/browser/importer/importer_bridge.h" |
@@ -49,7 +50,7 @@ namespace { |
// Gets the creation time of the given file or directory. |
static Time GetFileCreationTime(const std::wstring& file) { |
Time creation_time; |
- ScopedHandle file_handle( |
+ base::win::ScopedHandle file_handle( |
CreateFile(file.c_str(), GENERIC_READ, |
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, |
NULL, OPEN_EXISTING, |