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

Unified Diff: ui/base/dragdrop/os_exchange_data.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, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/dragdrop/os_exchange_data.h
diff --git a/ui/base/dragdrop/os_exchange_data.h b/ui/base/dragdrop/os_exchange_data.h
index 40cc6a1de4a30e82c31700e0787e3733eeca187f..5a1cbd507e93c0803eff68b520b76a7fe9cc3d65 100644
--- a/ui/base/dragdrop/os_exchange_data.h
+++ b/ui/base/dragdrop/os_exchange_data.h
@@ -33,6 +33,8 @@ class Vector2d;
namespace ui {
+struct FileInfo;
+
///////////////////////////////////////////////////////////////////////////////
//
// OSExchangeData
@@ -82,17 +84,6 @@ class UI_BASE_EXPORT OSExchangeData {
scoped_refptr<DownloadFileProvider> downloader;
};
- // Encapsulates the info about a file.
- struct UI_BASE_EXPORT FileInfo {
- FileInfo(const base::FilePath& path, const base::FilePath& display_name);
- ~FileInfo();
-
- // The path of the file.
- base::FilePath path;
- // The display name of the file. This field is optional.
- base::FilePath display_name;
- };
-
// Provider defines the platform specific part of OSExchangeData that
// interacts with the native system.
class UI_BASE_EXPORT Provider {

Powered by Google App Engine
This is Rietveld 408576698