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

Side by Side Diff: webkit/fileapi/obfuscated_file_util.cc

Issue 9638002: Add symbolic link support to FileSystemFileUtil::AbstractFileEnumerator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « webkit/fileapi/native_file_util.cc ('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 #include "webkit/fileapi/obfuscated_file_util.h" 5 #include "webkit/fileapi/obfuscated_file_util.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 177
178 virtual base::Time LastModifiedTime() OVERRIDE { 178 virtual base::Time LastModifiedTime() OVERRIDE {
179 return current_.file_info.modification_time; 179 return current_.file_info.modification_time;
180 } 180 }
181 181
182 virtual bool IsDirectory() OVERRIDE { 182 virtual bool IsDirectory() OVERRIDE {
183 return current_.file_info.is_directory(); 183 return current_.file_info.is_directory();
184 } 184 }
185 185
186 virtual bool IsLink() OVERRIDE {
187 return false;
188 }
189
186 private: 190 private:
187 typedef FileSystemDirectoryDatabase::FileId FileId; 191 typedef FileSystemDirectoryDatabase::FileId FileId;
188 typedef FileSystemDirectoryDatabase::FileInfo FileInfo; 192 typedef FileSystemDirectoryDatabase::FileInfo FileInfo;
189 193
190 struct FileRecord { 194 struct FileRecord {
191 FileId file_id; 195 FileId file_id;
192 FileInfo file_info; 196 FileInfo file_info;
193 FilePath file_path; 197 FilePath file_path;
194 }; 198 };
195 199
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 return false; 1311 return false;
1308 } 1312 }
1309 origin_database_.reset( 1313 origin_database_.reset(
1310 new FileSystemOriginDatabase( 1314 new FileSystemOriginDatabase(
1311 file_system_directory_.AppendASCII(kOriginDatabaseName))); 1315 file_system_directory_.AppendASCII(kOriginDatabaseName)));
1312 } 1316 }
1313 return true; 1317 return true;
1314 } 1318 }
1315 1319
1316 } // namespace fileapi 1320 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/native_file_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698