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

Side by Side Diff: chrome/browser/extensions/extension_path_util_unittest.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/path_util.h" 5 #include "chrome/browser/extensions/path_util.h"
6 6
7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 using base::FilePath; 11 using base::FilePath;
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 // Basic unittest for path_util::PrettifyPath in 15 // Basic unittest for path_util::PrettifyPath in
16 // chrome/browser/extensions/path_util.cc. 16 // chrome/browser/extensions/path_util.cc.
17 // For legacy reasons, it's tested more in 17 // For legacy reasons, it's tested more in
18 // FileSystemApiTest.FileSystemApiGetDisplayPathPrettify. 18 // FileSystemApiTest.FileSystemApiGetDisplayPathPrettify.
(...skipping 20 matching lines...) Expand all
39 // Test with two layers ("~/foo/bar"). 39 // Test with two layers ("~/foo/bar").
40 unprettified = unprettified.AppendASCII("bar"); 40 unprettified = unprettified.AppendASCII("bar");
41 prettified = path_util::PrettifyPath(unprettified); 41 prettified = path_util::PrettifyPath(unprettified);
42 EXPECT_NE(unprettified, prettified); 42 EXPECT_NE(unprettified, prettified);
43 EXPECT_EQ( 43 EXPECT_EQ(
44 FilePath(kHomeShortcut).AppendASCII("foo").AppendASCII("bar"), 44 FilePath(kHomeShortcut).AppendASCII("foo").AppendASCII("bar"),
45 prettified); 45 prettified);
46 } 46 }
47 47
48 } // namespace extensions 48 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698