| Index: webkit/fileapi/obfuscated_file_util.h
|
| ===================================================================
|
| --- webkit/fileapi/obfuscated_file_util.h (revision 0)
|
| +++ webkit/fileapi/obfuscated_file_util.h (revision 0)
|
| @@ -0,0 +1,46 @@
|
| +// 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.
|
| +
|
| +#ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
|
| +#define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
|
| +
|
| +#include "base/file_path.h"
|
| +#include "base/platform_file.h"
|
| +#include "base/singleton.h"
|
| +#include "webkit/fileapi/file_system_file_util.h"
|
| +
|
| +namespace base {
|
| +class Time; // For TouchFile. TODO remove comment when it's in.
|
| +}
|
| +
|
| +namespace fileapi {
|
| +
|
| +using base::PlatformFile;
|
| +using base::PlatformFileError;
|
| +
|
| +class FileSystemOperationContext;
|
| +
|
| +class ObfuscatedFileUtil : public FileSystemFileUtil {
|
| + public:
|
| + static ObfuscatedFileUtil* GetInstance();
|
| +
|
| + virtual PlatformFileError CreateOrOpen(
|
| + FileSystemOperationContext* context,
|
| + const FilePath& file_path,
|
| + int file_flags,
|
| + PlatformFile* file_handle,
|
| + bool *created) OVERRIDE;
|
| + virtual PlatformFileError CreateDirectory(
|
| + FileSystemOperationContext* context,
|
| + const FilePath& file_path,
|
| + bool exclusive) OVERRIDE;
|
| + private:
|
| + ObfuscatedFileUtil() { }
|
| + friend struct DefaultSingletonTraits<ObfuscatedFileUtil>;
|
| + DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
|
| +};
|
| +
|
| +} // namespace fileapi
|
| +
|
| +#endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
|
|
|
| Property changes on: webkit\fileapi\obfuscated_file_util.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|