summaryrefslogtreecommitdiffstats
path: root/ui/base/dragdrop/file_info.h
blob: 6e4f456147a2564478f4c6ac22cf027e8a80eb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_