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

Unified Diff: ui/base/text/text_elider_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/base/text/text_elider.cc ('k') | ui/base/ui_base_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/text/text_elider_unittest.cc
diff --git a/ui/base/text/text_elider_unittest.cc b/ui/base/text/text_elider_unittest.cc
index 8f9aa9c8de32a70213349093bc7c370c0431007e..cbf895fe80043a2829c437ffe3d674fd89f21268 100644
--- a/ui/base/text/text_elider_unittest.cc
+++ b/ui/base/text/text_elider_unittest.cc
@@ -25,7 +25,7 @@ struct Testcase {
};
struct FileTestcase {
- const FilePath::StringType input;
+ const base::FilePath::StringType input;
const std::string output;
};
@@ -263,8 +263,8 @@ TEST(TextEliderTest, TestFileURLEliding) {
#endif
TEST(TextEliderTest, MAYBE_TestFilenameEliding) {
const std::string kEllipsisStr(kEllipsis);
- const FilePath::StringType kPathSeparator =
- FilePath::StringType().append(1, FilePath::kSeparators[0]);
+ const base::FilePath::StringType kPathSeparator =
+ base::FilePath::StringType().append(1, base::FilePath::kSeparators[0]);
FileTestcase testcases[] = {
{FILE_PATH_LITERAL(""), ""},
@@ -302,7 +302,7 @@ TEST(TextEliderTest, MAYBE_TestFilenameEliding) {
static const gfx::Font font;
for (size_t i = 0; i < arraysize(testcases); ++i) {
- FilePath filepath(testcases[i].input);
+ base::FilePath filepath(testcases[i].input);
string16 expected = UTF8ToUTF16(testcases[i].output);
expected = base::i18n::GetDisplayStringInLTRDirectionality(expected);
EXPECT_EQ(expected, ElideFilename(filepath,
« no previous file with comments | « ui/base/text/text_elider.cc ('k') | ui/base/ui_base_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698