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

Side by Side Diff: webkit/browser/fileapi/file_system_file_util.h

Issue 56413002: Fix spelling of "NaCl" in various places: "NaCL" is the wrong capitalisation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo translation change Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/browser/fileapi/async_file_util.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual base::FilePath Next() OVERRIDE; 52 virtual base::FilePath Next() OVERRIDE;
53 virtual int64 Size() OVERRIDE; 53 virtual int64 Size() OVERRIDE;
54 virtual base::Time LastModifiedTime() OVERRIDE; 54 virtual base::Time LastModifiedTime() OVERRIDE;
55 virtual bool IsDirectory() OVERRIDE; 55 virtual bool IsDirectory() OVERRIDE;
56 }; 56 };
57 57
58 virtual ~FileSystemFileUtil() {} 58 virtual ~FileSystemFileUtil() {}
59 59
60 // Creates or opens a file with the given flags. 60 // Creates or opens a file with the given flags.
61 // See header comments for AsyncFileUtil::CreateOrOpen() for more details. 61 // See header comments for AsyncFileUtil::CreateOrOpen() for more details.
62 // This is used only by Pepper/NaCL File API. 62 // This is used only by Pepper/NaCl File API.
63 virtual base::PlatformFileError CreateOrOpen( 63 virtual base::PlatformFileError CreateOrOpen(
64 FileSystemOperationContext* context, 64 FileSystemOperationContext* context,
65 const FileSystemURL& url, 65 const FileSystemURL& url,
66 int file_flags, 66 int file_flags,
67 base::PlatformFile* file_handle, 67 base::PlatformFile* file_handle,
68 bool* created) = 0; 68 bool* created) = 0;
69 69
70 // Closes the given file handle. 70 // Closes the given file handle.
71 // This is used only for Pepper/NaCL File API. 71 // This is used only for Pepper/NaCl File API.
72 virtual base::PlatformFileError Close( 72 virtual base::PlatformFileError Close(
73 FileSystemOperationContext* context, 73 FileSystemOperationContext* context,
74 base::PlatformFile file) = 0; 74 base::PlatformFile file) = 0;
75 75
76 // Ensures that the given |url| exist. This creates a empty new file 76 // Ensures that the given |url| exist. This creates a empty new file
77 // at |url| if the |url| does not exist. 77 // at |url| if the |url| does not exist.
78 // See header comments for AsyncFileUtil::EnsureFileExists() for more details. 78 // See header comments for AsyncFileUtil::EnsureFileExists() for more details.
79 virtual base::PlatformFileError EnsureFileExists( 79 virtual base::PlatformFileError EnsureFileExists(
80 FileSystemOperationContext* context, 80 FileSystemOperationContext* context,
81 const FileSystemURL& url, bool* created) = 0; 81 const FileSystemURL& url, bool* created) = 0;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 protected: 185 protected:
186 FileSystemFileUtil() {} 186 FileSystemFileUtil() {}
187 187
188 private: 188 private:
189 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil); 189 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil);
190 }; 190 };
191 191
192 } // namespace fileapi 192 } // namespace fileapi
193 193
194 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 194 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/async_file_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698