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

Side by Side Diff: storage/common/fileapi/directory_entry.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « storage/common/fileapi/directory_entry.h ('k') | storage/common/fileapi/file_system_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/common/fileapi/directory_entry.h" 5 #include "storage/common/fileapi/directory_entry.h"
6 6
7 namespace fileapi { 7 namespace storage {
8 8
9 DirectoryEntry::DirectoryEntry() : is_directory(false), size(0) {} 9 DirectoryEntry::DirectoryEntry() : is_directory(false), size(0) {
10 }
10 11
11 DirectoryEntry::DirectoryEntry(const std::string& name, 12 DirectoryEntry::DirectoryEntry(const std::string& name,
12 DirectoryEntryType type, 13 DirectoryEntryType type,
13 int64 size, 14 int64 size,
14 const base::Time& last_modified_time) 15 const base::Time& last_modified_time)
15 : name(base::FilePath::FromUTF8Unsafe(name).value()), 16 : name(base::FilePath::FromUTF8Unsafe(name).value()),
16 is_directory(type == DIRECTORY), 17 is_directory(type == DIRECTORY),
17 size(size), 18 size(size),
18 last_modified_time(last_modified_time) { 19 last_modified_time(last_modified_time) {
19 } 20 }
20 21
21 } // namespace fileapi 22 } // namespace storage
OLDNEW
« no previous file with comments | « storage/common/fileapi/directory_entry.h ('k') | storage/common/fileapi/file_system_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698