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

Side by Side Diff: third_party/WebKit/Source/core/fileapi/File.h

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const String& name() const { return m_name; } 125 const String& name() const { return m_name; }
126 126
127 // Getter for the lastModified IDL attribute, 127 // Getter for the lastModified IDL attribute,
128 // http://dev.w3.org/2006/webapi/FileAPI/#file-attrs 128 // http://dev.w3.org/2006/webapi/FileAPI/#file-attrs
129 long long lastModified() const; 129 long long lastModified() const;
130 130
131 // Getter for the lastModifiedDate IDL attribute, 131 // Getter for the lastModifiedDate IDL attribute,
132 // http://www.w3.org/TR/FileAPI/#dfn-lastModifiedDate 132 // http://www.w3.org/TR/FileAPI/#dfn-lastModifiedDate
133 double lastModifiedDate() const; 133 double lastModifiedDate() const;
134 134
135 UserVisibility userVisibility() const { return m_userVisibility; } 135 UserVisibility getUserVisibility() const { return m_userVisibility; }
136 136
137 // Returns the relative path of this file in the context of a directory sele ction. 137 // Returns the relative path of this file in the context of a directory sele ction.
138 const String& webkitRelativePath() const { return m_relativePath; } 138 const String& webkitRelativePath() const { return m_relativePath; }
139 139
140 // Note that this involves synchronous file operation. Think twice before ca lling this function. 140 // Note that this involves synchronous file operation. Think twice before ca lling this function.
141 void captureSnapshot(long long& snapshotSize, double& snapshotModificationTi meMS) const; 141 void captureSnapshot(long long& snapshotSize, double& snapshotModificationTi meMS) const;
142 142
143 // Returns true if this has a valid snapshot metadata (i.e. m_snapshotSize > = 0). 143 // Returns true if this has a valid snapshot metadata (i.e. m_snapshotSize > = 0).
144 bool hasValidSnapshotMetadata() const { return m_snapshotSize >= 0; } 144 bool hasValidSnapshotMetadata() const { return m_snapshotSize >= 0; }
145 145
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 const double m_snapshotModificationTimeMS; 181 const double m_snapshotModificationTimeMS;
182 182
183 String m_relativePath; 183 String m_relativePath;
184 }; 184 };
185 185
186 DEFINE_TYPE_CASTS(File, Blob, blob, blob->isFile(), blob.isFile()); 186 DEFINE_TYPE_CASTS(File, Blob, blob, blob->isFile(), blob.isFile());
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #endif // File_h 190 #endif // File_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h ('k') | third_party/WebKit/Source/core/fileapi/FileList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698