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

Unified Diff: content/public/common/drop_data.cc

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/public/common/drop_data.cc
diff --git a/content/public/common/drop_data.cc b/content/public/common/drop_data.cc
index 713751b54a10a1eda6d49bb8833ace5a598e1fd5..5f9466b39bf33f4f64f7cb80ebe29785db56e719 100644
--- a/content/public/common/drop_data.cc
+++ b/content/public/common/drop_data.cc
@@ -6,15 +6,6 @@
namespace content {
-DropData::FileInfo::FileInfo() {
-}
-
-DropData::FileInfo::FileInfo(const base::string16& path,
- const base::string16& display_name)
- : path(path),
- display_name(display_name) {
-}
-
DropData::DropData()
: did_originate_from_renderer(false),
referrer_policy(blink::WebReferrerPolicyDefault) {}

Powered by Google App Engine
This is Rietveld 408576698