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

Side by Side Diff: ui/base/dragdrop/file_info.h

Issue 211383007: Use FilePaths in content::DropData to avoid redundant conversions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang-format Created 6 years, 8 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
OLDNEW
(Empty)
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698