| Index: ui/base/dragdrop/file_info.h
|
| diff --git a/ui/base/dragdrop/file_info.h b/ui/base/dragdrop/file_info.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6e4f456147a2564478f4c6ac22cf027e8a80eb22
|
| --- /dev/null
|
| +++ b/ui/base/dragdrop/file_info.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_BASE_DRAGDROP_FILE_INFO_H_
|
| +#define UI_BASE_DRAGDROP_FILE_INFO_H_
|
| +
|
| +#include "base/files/file_path.h"
|
| +#include "ui/base/ui_base_export.h"
|
| +
|
| +namespace ui {
|
| +
|
| +// struct that bundles a file's path with an optional display name.
|
| +struct UI_BASE_EXPORT FileInfo {
|
| + FileInfo();
|
| + FileInfo(const base::FilePath& path, const base::FilePath& display_name);
|
| + ~FileInfo();
|
| +
|
| + base::FilePath path;
|
| + base::FilePath display_name; // Optional.
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_BASE_DRAGDROP_FILE_INFO_H_
|
|
|