Index: webkit/fileapi/obfuscated_file_util_unittest.cc |
=================================================================== |
--- webkit/fileapi/obfuscated_file_util_unittest.cc (revision 174833) |
+++ webkit/fileapi/obfuscated_file_util_unittest.cc (working copy) |
@@ -4,6 +4,7 @@ |
#include <set> |
#include <string> |
+#include <vector> |
#include "base/bind.h" |
#include "base/file_path.h" |
@@ -263,7 +264,7 @@ |
} |
void CheckFileAndCloseHandle( |
- const FileSystemURL& url, PlatformFile file_handle) { |
+ const FileSystemURL& url, base::PlatformFile file_handle) { |
scoped_ptr<FileSystemOperationContext> context(NewContext(NULL)); |
FilePath local_path; |
EXPECT_EQ(base::PLATFORM_FILE_OK, ofu()->GetLocalFilePath( |
@@ -282,7 +283,7 @@ |
if (base::kInvalidPlatformFileValue == file_handle) { |
bool created = true; |
- PlatformFileError error; |
+ base::PlatformFileError error; |
file_handle = base::CreatePlatformFile( |
data_path, |
base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_WRITE, |
@@ -1697,7 +1698,7 @@ |
// CreateOrOpen, create case. |
url = dir_url.WithPath(dir_url.path().AppendASCII("CreateOrOpen_file")); |
- PlatformFile file_handle = base::kInvalidPlatformFileValue; |
+ base::PlatformFile file_handle = base::kInvalidPlatformFileValue; |
created = false; |
ClearTimestamp(dir_url); |
context.reset(NewContext(NULL)); |