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. 4 5 #ifndef UI_BASE_DRAGDROP_FILE_INFO_H_ 6 #define UI_BASE_DRAGDROP_FILE_INFO_H_ 7 8 #include "base/files/file_path.h" 9 #include "ui/base/ui_base_export.h" 10 11 namespace ui { 12 13 // struct that bundles a file's path with an optional display name. 14 struct UI_BASE_EXPORT FileInfo { 15 FileInfo(); 16 FileInfo(const base::FilePath& path, const base::FilePath& display_name); 17 ~FileInfo(); 18 19 base::FilePath path; 20 base::FilePath display_name; // Optional. 21 }; 22 23 } // namespace ui 24 25 #endif // UI_BASE_DRAGDROP_FILE_INFO_H_ 26