Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: webkit/fileapi/obfuscated_file_util.h

Issue 6286038: Add initial code to do filename munging in the FileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,33 @@
+// 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"
+
+namespace base {
+class Time; // For TouchFile TODO remove comment when it's in.
+}
+
+namespace obfuscated_file_util {
michaeln 2011/02/11 00:03:34 i don't think we generally use namespaces for this
ericu 2011/02/11 01:57:47 This matches base::file_util. If I dump this all
+
+using base::PlatformFile;
+using base::PlatformFileError;
+
+PlatformFile CreateOrOpen(
+ const FilePath& root_path,
+ const FilePath& virtual_path,
+ int file_flags,
+ bool *created,
+ PlatformFileError* error);
+void CreateDirectory(
+ const FilePath& root_path,
+ const FilePath& virtual_path,
+ bool exclusive_,
+ PlatformFileError* error);
+}
+
+#endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
Property changes on: webkit\fileapi\obfuscated_file_util.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698