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

Unified Diff: ui/views/controls/textfield/native_textfield_views_unittest.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « ui/test/test_suite.cc ('k') | win8/metro_driver/file_picker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_views_unittest.cc
diff --git a/ui/views/controls/textfield/native_textfield_views_unittest.cc b/ui/views/controls/textfield/native_textfield_views_unittest.cc
index 92c34aafce882e556c0e0765a0df4382c6071451..3cc184a1a8212d4437e5c22478366970624fc729 100644
--- a/ui/views/controls/textfield/native_textfield_views_unittest.cc
+++ b/ui/views/controls/textfield/native_textfield_views_unittest.cc
@@ -871,13 +871,13 @@ TEST_F(NativeTextfieldViewsTest, DragAndDrop_AcceptDrop) {
// Ensure that textfields do not accept non-OSExchangeData::STRING types.
ui::OSExchangeData bad_data;
- bad_data.SetFilename(FilePath(FILE_PATH_LITERAL("x")));
+ bad_data.SetFilename(base::FilePath(FILE_PATH_LITERAL("x")));
#if defined(OS_WIN)
ui::OSExchangeData::CustomFormat fmt = CF_BITMAP;
bad_data.SetPickledData(fmt, Pickle());
- bad_data.SetFileContents(FilePath(L"x"), "x");
+ bad_data.SetFileContents(base::FilePath(L"x"), "x");
bad_data.SetHtml(string16(ASCIIToUTF16("x")), GURL("x.org"));
- ui::OSExchangeData::DownloadFileInfo download(FilePath(), NULL);
+ ui::OSExchangeData::DownloadFileInfo download(base::FilePath(), NULL);
bad_data.SetDownloadFileInfo(download);
#endif
EXPECT_FALSE(textfield_view_->CanDrop(bad_data));
« no previous file with comments | « ui/test/test_suite.cc ('k') | win8/metro_driver/file_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698