diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 23:41:44 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 23:41:44 +0000 |
commit | 3303e65989b78cd0f8cffa6160b2d8440016e324 (patch) | |
tree | f14bdd239aa3c4547477987da135bc302957f597 /base/test_file_util_win.cc | |
parent | c1173aceb0427811b3de4836f42002ae33a9f873 (diff) | |
download | chromium_src-3303e65989b78cd0f8cffa6160b2d8440016e324.zip chromium_src-3303e65989b78cd0f8cffa6160b2d8440016e324.tar.gz chromium_src-3303e65989b78cd0f8cffa6160b2d8440016e324.tar.bz2 |
ScopedHandle is not in a namespace.
Review URL: http://codereview.chromium.org/12663
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test_file_util_win.cc')
-rw-r--r-- | base/test_file_util_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/test_file_util_win.cc b/base/test_file_util_win.cc index 3973af6..682a918a 100644 --- a/base/test_file_util_win.cc +++ b/base/test_file_util_win.cc @@ -9,12 +9,13 @@ #include <vector> #include "base/file_util.h" +#include "base/scoped_handle.h" namespace file_util { bool EvictFileFromSystemCache(const wchar_t* file) { // Request exclusive access to the file and overwrite it with no buffering. - win_util::ScopedHandle hfile( + ScopedHandle hfile( CreateFile(file, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, NULL)); |