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

Unified Diff: chrome/common/extensions/extension_file_util_unittest.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/common/extensions/extension_file_util_unittest.cc
diff --git a/chrome/common/extensions/extension_file_util_unittest.cc b/chrome/common/extensions/extension_file_util_unittest.cc
index cb9260f49939cf66823294c659a3b82ef478fe00..b20c0c939f2497c694e96d5d539131897aa31409 100644
--- a/chrome/common/extensions/extension_file_util_unittest.cc
+++ b/chrome/common/extensions/extension_file_util_unittest.cc
@@ -305,7 +305,7 @@ TEST_F(ExtensionFileUtilTest, ExtensionResourceURLToFilePath) {
base::FilePath root_path;
ASSERT_TRUE(file_util::CreateNewTempDirectory(
FILE_PATH_LITERAL(""), &root_path));
- ASSERT_TRUE(file_util::AbsolutePath(&root_path));
+ root_path = root_path.AsAbsolute();
brettw 2013/03/30 04:19:38 Fix me
base::FilePath api_path = root_path.Append(FILE_PATH_LITERAL("apiname"));
ASSERT_TRUE(file_util::CreateDirectory(api_path));

Powered by Google App Engine
This is Rietveld 408576698