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

Unified Diff: content/common/drag_traits.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: content/common/drag_traits.h
diff --git a/content/common/drag_traits.h b/content/common/drag_traits.h
index fb3eef16acd79887c70ef3d140a8356034d5adf7..5b78528b9c82d37e7976fdcaee9b03efa40ba0a3 100644
--- a/content/common/drag_traits.h
+++ b/content/common/drag_traits.h
@@ -15,7 +15,7 @@ IPC_ENUM_TRAITS(blink::WebDragOperation) // Bitmask.
IPC_ENUM_TRAITS_MAX_VALUE(ui::DragDropTypes::DragEventSource,
ui::DragDropTypes::DRAG_EVENT_SOURCE_LAST)
-IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileInfo)
+IPC_STRUCT_TRAITS_BEGIN(ui::FileInfo)
IPC_STRUCT_TRAITS_MEMBER(path)
IPC_STRUCT_TRAITS_MEMBER(display_name)
IPC_STRUCT_TRAITS_END()

Powered by Google App Engine
This is Rietveld 408576698