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

Side by Side Diff: base/mac/mac_util_unittest.mm

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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
« no previous file with comments | « base/linux_util.cc ('k') | base/memory/discardable_memory_ashmem_allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/mac/mac_util.h" 7 #include "base/mac/mac_util.h"
8 8
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/mac/foundation_util.h" 12 #include "base/mac/foundation_util.h"
13 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
14 #include "base/mac/scoped_nsobject.h" 14 #include "base/mac/scoped_nsobject.h"
15 #include "base/sys_info.h" 15 #include "base/sys_info.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
18 18
19 #include <errno.h> 19 #include <errno.h>
20 #include <sys/xattr.h> 20 #include <sys/xattr.h>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 279 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
280 FilePath non_existent_path = temp_dir_.path().Append("DummyPath"); 280 FilePath non_existent_path = temp_dir_.path().Append("DummyPath");
281 ASSERT_FALSE(PathExists(non_existent_path)); 281 ASSERT_FALSE(PathExists(non_existent_path));
282 EXPECT_FALSE(RemoveQuarantineAttribute(non_existent_path)); 282 EXPECT_FALSE(RemoveQuarantineAttribute(non_existent_path));
283 } 283 }
284 284
285 } // namespace 285 } // namespace
286 286
287 } // namespace mac 287 } // namespace mac
288 } // namespace base 288 } // namespace base
OLDNEW
« no previous file with comments | « base/linux_util.cc ('k') | base/memory/discardable_memory_ashmem_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698