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

Unified Diff: chrome/browser/automation/testing_automation_provider.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
« no previous file with comments | « no previous file | chrome/browser/download/drag_download_item_views.cc » ('j') | ui/base/dragdrop/file_info.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index e461641c33ccd00836ed3c6b71ebb4b0a8be9432..12fc4d3f420db621d73a105d5ae3e1d8a21b9793 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -915,7 +915,7 @@ void TestingAutomationProvider::DragAndDropFilePaths(
}
drop_data.filenames.push_back(
- content::DropData::FileInfo(path, base::string16()));
+ ui::FileInfo(base::FilePath::FromUTF16Unsafe(path), base::FilePath()));
}
const gfx::Point client(x, y);
« no previous file with comments | « no previous file | chrome/browser/download/drag_download_item_views.cc » ('j') | ui/base/dragdrop/file_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698