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

Side by Side Diff: base/files/file_path_watcher_browsertest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/file_util_unittest.cc ('k') | base/files/important_file_writer_unittest.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 #include "base/files/file_path_watcher.h" 5 #include "base/files/file_path_watcher.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
11 #include <aclapi.h> 11 #include <aclapi.h>
12 #elif defined(OS_POSIX) 12 #elif defined(OS_POSIX)
13 #include <sys/stat.h> 13 #include <sys/stat.h>
14 #endif 14 #endif
15 15
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/bind_helpers.h" 18 #include "base/bind_helpers.h"
19 #include "base/compiler_specific.h" 19 #include "base/compiler_specific.h"
20 #include "base/file_path.h" 20 #include "base/file_path.h"
21 #include "base/file_util.h" 21 #include "base/file_util.h"
22 #include "base/files/scoped_temp_dir.h"
22 #include "base/message_loop.h" 23 #include "base/message_loop.h"
23 #include "base/message_loop_proxy.h" 24 #include "base/message_loop_proxy.h"
24 #include "base/path_service.h" 25 #include "base/path_service.h"
25 #include "base/scoped_temp_dir.h"
26 #include "base/stl_util.h" 26 #include "base/stl_util.h"
27 #include "base/stringprintf.h" 27 #include "base/stringprintf.h"
28 #include "base/synchronization/waitable_event.h" 28 #include "base/synchronization/waitable_event.h"
29 #include "base/test/test_file_util.h" 29 #include "base/test/test_file_util.h"
30 #include "base/test/test_timeouts.h" 30 #include "base/test/test_timeouts.h"
31 #include "base/threading/thread.h" 31 #include "base/threading/thread.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 33
34 namespace base { 34 namespace base {
35 namespace files { 35 namespace files {
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false)); 835 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false));
836 ASSERT_TRUE(WaitForEvents()); 836 ASSERT_TRUE(WaitForEvents());
837 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true)); 837 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true));
838 } 838 }
839 839
840 #endif // OS_MACOSX 840 #endif // OS_MACOSX
841 } // namespace 841 } // namespace
842 842
843 } // namespace files 843 } // namespace files
844 } // namespace base 844 } // namespace base
OLDNEW
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/files/important_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698