| OLD | NEW |
| 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 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <aclapi.h> | 9 #include <aclapi.h> |
| 10 #elif defined(OS_POSIX) | 10 #elif defined(OS_POSIX) |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false)); | 862 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, false)); |
| 863 ASSERT_TRUE(WaitForEvents()); | 863 ASSERT_TRUE(WaitForEvents()); |
| 864 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true)); | 864 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true)); |
| 865 DeleteDelegateOnFileThread(delegate.release()); | 865 DeleteDelegateOnFileThread(delegate.release()); |
| 866 } | 866 } |
| 867 | 867 |
| 868 #endif // OS_MACOSX | 868 #endif // OS_MACOSX |
| 869 } // namespace | 869 } // namespace |
| 870 | 870 |
| 871 } // namespace base | 871 } // namespace base |
| OLD | NEW |