summaryrefslogtreecommitdiffstats
path: root/ui/base/dragdrop/file_info.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 21:54:46 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 21:54:46 +0000
commit17ea0ae233fa0deef9df089ccfdf3b0760e8d015 (patch)
treed03e2cd509749dd487ffa70f3d09cba74d852568 /ui/base/dragdrop/file_info.cc
parent01549ced5fff84743d84454723abba51264d70d2 (diff)
downloadchromium_src-17ea0ae233fa0deef9df089ccfdf3b0760e8d015.zip
chromium_src-17ea0ae233fa0deef9df089ccfdf3b0760e8d015.tar.gz
chromium_src-17ea0ae233fa0deef9df089ccfdf3b0760e8d015.tar.bz2
Use FilePaths in content::DropData to avoid redundant conversions.
BUG=none R=jam@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/211383007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/dragdrop/file_info.cc')
-rw-r--r--ui/base/dragdrop/file_info.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/base/dragdrop/file_info.cc b/ui/base/dragdrop/file_info.cc
new file mode 100644
index 0000000..e5b894a
--- /dev/null
+++ b/ui/base/dragdrop/file_info.cc
@@ -0,0 +1,17 @@
+// 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.
+
+#include "ui/base/dragdrop/file_info.h"
+
+namespace ui {
+
+FileInfo::FileInfo() {}
+
+FileInfo::FileInfo(const base::FilePath& path,
+ const base::FilePath& display_name)
+ : path(path), display_name(display_name) {}
+
+FileInfo::~FileInfo() {}
+
+} // namespace ui