Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / public / common / file_chooser_file_info.h
blob24d116d58c4d814051b489891529b78dd7e5ae9d
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_FILE_CHOOSER_FILE_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_FILE_CHOOSER_FILE_INFO_H_
8 #include "base/files/file_path.h"
9 #include "base/time/time.h"
10 #include "content/common/content_export.h"
11 #include "url/gurl.h"
13 namespace content {
15 // Result of file chooser.
16 struct CONTENT_EXPORT FileChooserFileInfo {
17 FileChooserFileInfo();
18 ~FileChooserFileInfo();
20 base::FilePath file_path;
22 // For native files.
23 base::FilePath::StringType display_name;
25 // For non-native files.
26 GURL file_system_url;
27 base::Time modification_time;
28 int64 length;
30 bool is_directory;
33 } // namespace content
35 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_FILE_INFO_H_